plugins/adminmenu.sp
changeset 1603 e771ce6def3d
parent 1590 47557c457768
child 1625 8e4a6a8c3256
     1.1 --- a/plugins/adminmenu.sp	Wed Oct 17 16:46:27 2007 +0000
     1.2 +++ b/plugins/adminmenu.sp	Wed Oct 17 17:12:26 2007 +0000
     1.3 @@ -175,6 +175,12 @@
     1.4  
     1.5  public Action:Command_DisplayMenu(client, args)
     1.6  {
     1.7 +	if (client == 0)
     1.8 +	{
     1.9 +		ReplyToCommand(client, "[SM] %t", "Command is in-game only");
    1.10 +		return Plugin_Handled;
    1.11 +	}
    1.12 +	
    1.13  	DisplayTopMenu(hAdminMenu, client, TopMenuPosition_Start);
    1.14  	
    1.15  	return Plugin_Handled;