Added server check to clientprefs
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402184
This commit is contained in:
parent
8cd8228251
commit
73a20de2ff
@ -89,6 +89,12 @@ public Action:Command_Cookie(client, args)
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
if (client == 0)
|
||||
{
|
||||
PrintToServer("%T", "No Console", LANG_SERVER);
|
||||
return Plugin_Handled;
|
||||
}
|
||||
|
||||
decl String:name[30];
|
||||
name[0] = '\0';
|
||||
GetCmdArg(1, name, sizeof(name));
|
||||
|
Loading…
Reference in New Issue
Block a user