Score Req. OnPlayerRequestClass.
#9

I bet this one will work try this. this will work for sure.

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    new team = GetPlayerTeam(playerid);
    new Score = GetPlayerScore(playerid);
    if(team == BusDriver && Score <= 25) return SendClientMessage(playerid, COLOR_RED,"You Need 25 Scores to be Bus Driver.");
    if(team == Police && Score <= 100) return SendClientMessage(playerid, COLOR_RED,"You Need 100 Scores to be Police Officer.");
    return 1;
}
Reply


Messages In This Thread
Score Req. OnPlayerRequestClass. - by Avi Raj - 30.03.2013, 10:51
Re: Score Req. OnPlayerRequestClass. - by Patrick - 30.03.2013, 10:54
Re: Score Req. OnPlayerRequestClass. - by Avi Raj - 30.03.2013, 11:08
Re: Score Req. OnPlayerRequestClass. - by Fernado Samuel - 30.03.2013, 11:13
Re: Score Req. OnPlayerRequestClass. - by Ironboy - 30.03.2013, 11:14
Re: Score Req. OnPlayerRequestClass. - by Patrick - 30.03.2013, 11:17
Re: Score Req. OnPlayerRequestClass. - by Avi Raj - 30.03.2013, 11:21
Re: Score Req. OnPlayerRequestClass. - by Avi Raj - 30.03.2013, 11:26
Re: Score Req. OnPlayerRequestClass. - by Patrick - 30.03.2013, 11:32
Re: Score Req. OnPlayerRequestClass. - by Avi Raj - 30.03.2013, 11:37

Forum Jump:


Users browsing this thread: 4 Guest(s)