16.10.2013, 12:08
As the title says, "Is there a way to disable all commands before player logs in?" or do I have to have the "isplayerloggedin" line for each command?
public OnPlayerCommandReceived( playerid, cmdtext[ ] )
{
if( !isplayerloggedin[ playerid ] ) return 0; // CHANGE THIS TO YOUR NEEDS (IF NOT LOGGED IN)
return 1;
}
If you use ZCMD:
pawn Код:
|