Help! OnPLayerSpawn
#2

pawn Код:
public OnPlayerRequestClass( playerid, classid )
{
    if( /* CHECK IF THEY DID NOT REGISTER/LOGIN */ )
    {
        SendClientMessage (playerid, 0xFF0000FF, "You need to register/login first." );
        return 0; // Returning 0 will prevent the player from spawning
    }
    return 1;
}
Reply


Messages In This Thread
Help! OnPLayerSpawn - by Day_Jons - 07.09.2013, 09:44
Re: Help! OnPLayerSpawn - by Konstantinos - 07.09.2013, 09:50
Re: Help! OnPLayerSpawn - by Day_Jons - 07.09.2013, 10:05
Re: Help! OnPLayerSpawn - by playbox12 - 07.09.2013, 10:12
Re: Help! OnPLayerSpawn - by Konstantinos - 07.09.2013, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)