Prevent player to use commands until he log in.
#7

pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
    if (PlayerInfo[playerid][Logged] == false)
    {
        SendClientMessage(playerid, 0xFF0000FF, "You must login before using commands.");
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
Prevent player to use commands until he log in. - by RedJohn - 25.09.2012, 08:01
Re: Prevent player to use commands until he log in. - by Djole1337 - 25.09.2012, 08:06
Re: Prevent player to use commands until he log in. - by RedJohn - 25.09.2012, 08:07
Re: Prevent player to use commands until he log in. - by mamorunl - 25.09.2012, 08:08
Re: Prevent player to use commands until he log in. - by BlueGames - 25.09.2012, 08:09
Re: Prevent player to use commands until he log in. - by RedJohn - 25.09.2012, 08:13
Re: Prevent player to use commands until he log in. - by Emmet_ - 25.09.2012, 08:32
Re: Prevent player to use commands until he log in. - by RedJohn - 25.09.2012, 17:49

Forum Jump:


Users browsing this thread: 2 Guest(s)