Marker
#1

I have this but when player gets out from the mini map and comes back, or another interior / virtual world then the marker shows, how can i do it so it hides all the time until player goes off duty


pawn Код:
// in on duty
for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid, (GetPlayerCnRColor(playerid) & 0xFFFFFF00));

// in off duty

        if(GetPlayerCnRColor(playerid) == 0xFFFFFF00)for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFFFF);
        else for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid, GetPlayerCnRColor(playerid) | 0x000000FF);
Reply
#2

Use removeplayermapicon
Reply
#3

CAnt i just change my codE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)