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

It's working but when i type /duty 2 times. i'm off duty but the color not resting to
Код:
SetPlayerToTeamColour
Код:
if(Team[playerid] == TEAM_COP)
     {
     for(new p = GetPlayerPoolSize(); p >= 0; --p) {
      if(GetPlayerWantedLevel(p) >= 1 && PoliceDuty[playerid])
	  { // If is Add it work?
        SetPlayerColor(playerid,COLOUR_RED);
        SetPlayerMarkerForPlayer(p, playerid, 0xFF0000FF);
     }
	 else if(GetPlayerWantedLevel(p) == 0)
	 {
        SetPlayerMarkerForPlayer(p, playerid, COLOUR_RED); 
        SetPlayerToTeamColour(p);
        }
     }
     }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)