mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fixed bug at18607 (lantz69)
This commit is contained in:
parent
eeb77395cd
commit
2e5c71f771
@ -326,9 +326,9 @@ displaySlapMenu(id,pos) {
|
||||
{
|
||||
if (cs_get_user_team(i) == CS_TEAM_T)
|
||||
{
|
||||
copy(team, 3, "CT")
|
||||
} else if (cs_get_user_team(i) == CS_TEAM_CT) {
|
||||
copy(team, 3, "TE")
|
||||
} else if (cs_get_user_team(i) == CS_TEAM_CT) {
|
||||
copy(team, 3, "CT")
|
||||
} else {
|
||||
get_user_team(i,team,3)
|
||||
}
|
||||
@ -545,9 +545,9 @@ displayTeamMenu(id,pos) {
|
||||
{
|
||||
iteam = _:cs_get_user_team(i)
|
||||
if (iteam == 1) {
|
||||
copy(team, 3, "CT")
|
||||
} else if (iteam == 2) {
|
||||
copy(team, 3, "TE")
|
||||
} else if (iteam == 2) {
|
||||
copy(team, 3, "CT")
|
||||
} else {
|
||||
get_user_team(i,team,3)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user