22.12.2010, 05:02
OK, i have this:
} else if(classid == 6) {
GameTextForPlayer(playerid,"~b~POLICE OFFICER",1000,5);
if(GetPlayerScore(playerid) < 500)
SendClientMessage(playerid, 0xFFFFFFFF, "You have to have atleast 500 score to be a police officer!");
SetPlayerHealth(playerid, 0);
} else if(classid == 7 ) {
GameTextForPlayer(playerid,"~r~TRUCKER PP",1000,5);
} else if(classid ==
{
...
But when i pick the Police Officer class i die, then i spawn again in that class as if i had 500 score.
} else if(classid == 6) {
GameTextForPlayer(playerid,"~b~POLICE OFFICER",1000,5);
if(GetPlayerScore(playerid) < 500)
SendClientMessage(playerid, 0xFFFFFFFF, "You have to have atleast 500 score to be a police officer!");
SetPlayerHealth(playerid, 0);
} else if(classid == 7 ) {
GameTextForPlayer(playerid,"~r~TRUCKER PP",1000,5);
} else if(classid ==
{...
But when i pick the Police Officer class i die, then i spawn again in that class as if i had 500 score.

