Players can spawn while in tutorial
#4

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if( ... tutorial is in progress ... )
    {
        SendClientMessage(playerid, 0xFF0000FF, "You cannot spawn at the moment. Wait for the tutorial to be finished.");
        return 0; //prevent them from spawning
    }
    return 1;
}
Reply


Messages In This Thread
Players can spawn while in tutorial - by arjanforgames - 15.07.2013, 14:53
Re: Players can spawn while in tutorial - by ScRipTeRi - 15.07.2013, 15:13
Re: Players can spawn while in tutorial - by ReVo_ - 15.07.2013, 15:21
Re: Players can spawn while in tutorial - by Konstantinos - 15.07.2013, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)