22.08.2015, 16:38
Quote:
I mean when i type /duty it will show the wanted color. when i type /duty again it won't show the wanted players.
|
PHP код:
if(Team[playerid] == TEAM_COP)
{
for(new p = GetPlayerPoolSize(); p >= 0; --p) {
if(GetPlayerWantedLevel(p) >= 1 && PoliceDuty[playerid]) { // If is Add it work?
SetPlayerMarkerForPlayer(p, playerid, 0xFF0000FF);
} else if(GetPlayerWantedLevel(p) == 0) {
SetPlayerMarkerForPlayer(p, playerid, COLOUR_RED); // This is default color! Removed you team color
}
}
}