22.08.2015, 16:28
I mean when i type /duty it will show the wanted color. when i type /duty again it won't show the wanted players.
and i got it like this
and i got it like this
Код:
if(Team[playerid] == TEAM_COP) { for(new p = GetPlayerPoolSize(); p >= 0; --p) { if(GetPlayerWantedLevel(p) >= 1) { SetPlayerColor(playerid,COLOUR_RED); SetPlayerMarkerForPlayer(p, playerid, 0xFF0000FF); } else if(GetPlayerWantedLevel(p) == 0) { SetPlayerMarkerForPlayer(p, playerid, COLOUR_RED); // This is default color! Removed you team color SetPlayerMarkerForPlayer(p, playerid, COLOUR_RED); SetPlayerToTeamColour(playerid); } } }