OnPlayerRequestSpawn
#1

The player needs 20 score to use this team... if the player dont have 20 score, it will not spawn

Is it like this?
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(gTeam[playerid] == SOLDIER)
    {
        if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, SOLDIER_COLOR, "You are not a soldier. Apply in our forums to be a soldier.");
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerRequestSpawn - by Deaglez - 09.09.2012, 01:12
Re: OnPlayerRequestSpawn - by Emmet_ - 09.09.2012, 01:14
Re: OnPlayerRequestSpawn - by Deaglez - 09.09.2012, 01:26
Re: OnPlayerRequestSpawn - by Emmet_ - 09.09.2012, 01:28
Re: OnPlayerRequestSpawn - by Ballu Miaa - 09.09.2012, 01:30
Re: OnPlayerRequestSpawn - by Deaglez - 09.09.2012, 01:36

Forum Jump:


Users browsing this thread: 2 Guest(s)