Checking score before spawning!
#5

It should work.

pawn Код:
public OnPlayerRequestSpawn( playerid )
{
    if( gTeam[ playerid ] == ARMY && GetPlayerScore( playerid ) < 1000 )
    {
        SendClientMessage( playerid, -1, "You need atleast 1000 score in order to join Army team.");
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
Checking score before spawning! - by LeeXian99 - 03.11.2013, 13:54
Re: Checking score before spawning! - by Konstantinos - 03.11.2013, 13:56
Re: Checking score before spawning! - by DaniceMcHarley - 03.11.2013, 13:57
Re: Checking score before spawning! - by LeeXian99 - 03.11.2013, 14:02
Re: Checking score before spawning! - by Konstantinos - 03.11.2013, 14:06
Re: Checking score before spawning! - by LeeXian99 - 03.11.2013, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)