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:
David Anderson
2007-10-17 17:12:26 +00:00
parent 261295acd6
commit 1777c84a75
2 changed files with 17 additions and 1 deletions
+6
View File
@@ -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;