plugins/clientprefs.sp
changeset 2076 c6bd617bf370
parent 2049 1fe40c6d302c
child 2207 3a97a56ded62
     1.1 --- a/plugins/clientprefs.sp	Sun May 25 02:07:52 2008 +0000
     1.2 +++ b/plugins/clientprefs.sp	Sun May 25 03:26:31 2008 +0000
     1.3 @@ -89,6 +89,12 @@
     1.4  		return Plugin_Handled;
     1.5  	}
     1.6  	
     1.7 +	if (client == 0)
     1.8 +	{
     1.9 +		PrintToServer("%T", "No Console", LANG_SERVER);
    1.10 +		return Plugin_Handled;	
    1.11 +	}
    1.12 +	
    1.13  	decl String:name[30];
    1.14  	name[0] = '\0';
    1.15  	GetCmdArg(1, name, sizeof(name));