blocked sm_admin from being used by rcon
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401609
This commit is contained in:
parent
261295acd6
commit
1777c84a75
@ -175,6 +175,12 @@ public __AddTargetsToMenu(Handle:plugin, numParams)
|
||||
|
||||
public Action:Command_DisplayMenu(client, args)
|
||||
{
|
||||
if (client == 0)
|
||||
{
|
||||
ReplyToCommand(client, "[SM] %t", "Command is in-game only");
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
DisplayTopMenu(hAdminMenu, client, TopMenuPosition_Start);
|
||||
|
||||
return Plugin_Handled;
|
||||
|
@ -286,24 +286,34 @@
|
||||
{
|
||||
"en" "Reload admins"
|
||||
}
|
||||
|
||||
"Ban player"
|
||||
{
|
||||
"en" "Ban player"
|
||||
}
|
||||
|
||||
"Ban reason"
|
||||
{
|
||||
"en" "Ban reason"
|
||||
}
|
||||
|
||||
"Burn player"
|
||||
{
|
||||
"en" "Burn player"
|
||||
}
|
||||
|
||||
"Slap player"
|
||||
{
|
||||
"en" "Slap player"
|
||||
}
|
||||
|
||||
"Slap damage"
|
||||
{
|
||||
"en" "Slap damage"
|
||||
}
|
||||
|
||||
"Command is in-game only"
|
||||
{
|
||||
"en" "This command can only be used in-game."
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user