Added server check to clientprefs

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402184
This commit is contained in:
Matt Woodrow 2008-05-25 03:26:31 +00:00
parent 8cd8228251
commit 73a20de2ff

View File

@ -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));