Anyway how to do this wanted color for cops to see
#3

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

Код:
     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);
        }
     }
     }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)