mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed wrong team names in TFC plmenu am41563
This commit is contained in:
parent
51ee2e4846
commit
49f46a5f4c
@ -541,7 +541,7 @@ displayTeamMenu(id, pos)
|
||||
}
|
||||
}
|
||||
|
||||
len += format(menuBody[len], 511-len, "^n8. %L^n", id, "TRANSF_TO", g_menuOption[id] ? "TERRORIST" : "CT")
|
||||
len += format(menuBody[len], 511-len, "^n8. %L^n", id, "TRANSF_TO", g_teamNames[g_menuOption[id]])
|
||||
|
||||
if (end != g_menuPlayersNum[id])
|
||||
{
|
||||
@ -559,7 +559,7 @@ public cmdTeamMenu(id, level, cid)
|
||||
if (!cmd_access(id, level, cid, 1))
|
||||
return PLUGIN_HANDLED
|
||||
|
||||
g_menuOption[id] = 0
|
||||
g_menuOption[id] = 1
|
||||
|
||||
displayTeamMenu(id, g_menuPosition[id] = 0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user