Restricted Class Spawning Help
#5

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
Okay, then you can just make a slight modification:

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(gTeam[playerid] == CLASS_MERC)
    {
        if(GetPlayerScore(playerid) < 100) return 0; // If their score is less than 100, return 0, which means they won't spawn
    }
    return 1;
}
EDIT:I completly see now thanks for the tips
Reply


Messages In This Thread
Restricted Class Spawning Help - by <Weponz> - 24.10.2010, 11:14
Re: Restricted Class Spawning Help - by JaTochNietDan - 24.10.2010, 11:15
Re: Restricted Class Spawning Help - by <Weponz> - 24.10.2010, 11:18
Re: Restricted Class Spawning Help - by JaTochNietDan - 24.10.2010, 11:19
Re: Restricted Class Spawning Help - by <Weponz> - 24.10.2010, 11:23

Forum Jump:


Users browsing this thread: 1 Guest(s)