Is there a way to disable all commands before player logs in?
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
If you use ZCMD:
pawn Код:
public OnPlayerCommandReceived( playerid, cmdtext[ ] )
{
    if( !isplayerloggedin[ playerid ] ) return 0; // CHANGE THIS TO YOUR NEEDS (IF NOT LOGGED IN)
    return 1;
}
I do indeed use ZCMD, I haven't tested this yet but I'm sure it works.

Thanks very much.

You're one of the most helpful people on the whole forum, though unfortunately I am unable to "approve your post" because I've already done it before recently, I guess. I need to "spread out some reputation" first.
Reply


Messages In This Thread
Is there a way to disable all commands before player logs in? - by PrivatioBoni - 16.10.2013, 12:08
Re: Is there a way to disable all commands before player logs in? - by Konstantinos - 16.10.2013, 12:19
Re: Is there a way to disable all commands before player logs in? - by PrivatioBoni - 16.10.2013, 12:33

Forum Jump:


Users browsing this thread: 3 Guest(s)