Marker - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Marker (
/showthread.php?tid=509221)
Marker -
Ananisiki - 25.04.2014
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);
Re: Marker -
PrinceKumar - 26.04.2014
Use removeplayermapicon
Re: Marker -
Ananisiki - 26.04.2014
CAnt i just change my codE