26.06.2012, 01:39
1st. make sure that if you have another team (cops ) and you have 0 wanted , your color will change
pawn Код:
if(GetPlayerWantedLevel(playerid) == 0)
{
SetPlayerColor(playerid, COLOR_WHITE);
}
else if(GetPlayerWantedLevel(playerid) >= 1 && GetPlayerWantedLevel(playerid) <= 3)
{
SetPlayerColor(playerid, COLOR_YELLOW);
}
else if(GetPlayerWantedLevel(playerid) >= 4)
{
SetPlayerColor(playerid, COLOR_RED);
}