SA-MP Forums Archive
Player marker transparent? - 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: Player marker transparent? (/showthread.php?tid=334472)



Player marker transparent? - Kyle_Olsen - 14.04.2012

Hi, I'm having this problem.

I am trying to make one player's map marker invisible, but when I use SetPlayerMarkerForPlayer(playerid, id, 0xFFFFFF00); the marker quickly turns white again, as the player color.

Any solutions?


Re: Player marker transparent? - MP2 - 14.04.2012

I believe the parameters have to be swapped. This is a tad confusing I know.

SetPlayerMarkerForPlayer(playerid, id, color);

playerid - the player to set the marker for
id - the player whose marker to change


Re: Player marker transparent? - Kyle_Olsen - 15.04.2012

No, that's not my problem, I've tried both.