Added Silent Transfer Option in Team Menu.
This commit is contained in:
parent
5ba0e3ec2a
commit
2ab4a8a44a
|
@ -31,7 +31,7 @@ ADMIN_TRANSF_1 = ADMIN: verschiebt %s zu den %s
|
|||
ADMIN_TRANSF_2 = ADMIN %s: verschiebt %s zu den %s
|
||||
TEAM_MENU = Menu > Team
|
||||
TRANSF_TO = zu den %s geschoben
|
||||
TRANSF_TO = Leise verschrieben
|
||||
TRANSF_SILENT = Stiller Transfer
|
||||
CL_CMD_MENU = Menu > Spielerbefehle
|
||||
NO_CMDS = keine Befehle verfuegbar
|
||||
CANT_PERF_PLAYER = Diese Aktion kann nicht am spieler "%s" ausgefuehrt werden.
|
||||
|
@ -86,6 +86,7 @@ ADMIN_TRANSF_1 = ADMIN: transfere %s en %s
|
|||
ADMIN_TRANSF_2 = ADMIN %s: transfere %s en %s
|
||||
TEAM_MENU = Menu Equipe
|
||||
TRANSF_TO = Transferer en %s
|
||||
TRANSF_SILENT = Transfert silencieux
|
||||
CL_CMD_MENU = Menu Cmds Client
|
||||
NO_CMDS = Aucune commande disponible
|
||||
CANT_PERF_PLAYER = Cette action ne peut pas etre faite sur le joueur "%s"
|
||||
|
|
|
@ -66,7 +66,7 @@ new allow_spectators, mp_limitteams
|
|||
new p_amx_tempban_maxtime;
|
||||
new Trie:g_tempBans;
|
||||
|
||||
new g_silent = false
|
||||
new g_silent[33]
|
||||
|
||||
public plugin_natives()
|
||||
{
|
||||
|
@ -665,6 +665,7 @@ public cmdKickMenu(id, level, cid)
|
|||
public client_putinserver(id)
|
||||
{
|
||||
g_CSPlayerCanSwitchFromSpec[id] = false
|
||||
g_silent[id] = false
|
||||
}
|
||||
|
||||
public Event_TeamInfo()
|
||||
|
@ -692,7 +693,7 @@ public actionTeamMenu(id, key)
|
|||
{
|
||||
case 6:
|
||||
{
|
||||
g_silent = !g_silent
|
||||
g_silent[id] = !g_silent[id]
|
||||
displayTeamMenu(id, g_menuPosition[id])
|
||||
}
|
||||
case 7:
|
||||
|
@ -884,7 +885,7 @@ displayTeamMenu(id, pos)
|
|||
}
|
||||
}
|
||||
|
||||
len += format(menuBody[len], charsmax(menuBody) - len, "^n7. %L: %L", id, "TRANSF_SILENT", id, g_silent ? "YES" : "NO")
|
||||
len += format(menuBody[len], charsmax(menuBody) - len, "^n7. %L: %L", id, "TRANSF_SILENT", id, g_silent[id] ? "YES" : "NO")
|
||||
len += format(menuBody[len], charsmax(menuBody) - len, "^n8. %L^n", id, "TRANSF_TO", g_CSTeamNames[g_menuOption[id] % 3])
|
||||
|
||||
if (end != g_menuPlayersNum[id])
|
||||
|
|
Loading…
Reference in New Issue
Block a user