HELP PLEASE
#2

Use a boolean to check if the player had already spawned once:
pawn Код:
new bool:FirstTime[MAX_PLAYERS] = {true, ...};

public OnPlayerSpawn(playerid)
{
    if(FirstTime[playerid] == true)
    {
        // game text code here
        FirstTime[playerid] = false;
    }
    return 1;
}
Reply


Messages In This Thread
HELP PLEASE - by grand.Theft.Otto - 25.10.2010, 00:52
Re: HELP PLEASE - by Miguel - 25.10.2010, 01:54
Re: HELP PLEASE - by grand.Theft.Otto - 25.10.2010, 02:22

Forum Jump:


Users browsing this thread: 1 Guest(s)