SA-MP Forums Archive
Map icon - 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: Map icon (/showthread.php?tid=606374)



Map icon - SaiyanZ - 03.05.2016

Hello,
Is it possible to make a command to remove one players map icon, If the player types a command his icon from the map
should be gone?


Re: Map icon - N0FeaR - 03.05.2016

You should use this https://sampwiki.blast.hk/wiki/ShowPlayerMarkers


Re: Map icon - Micko123 - 03.05.2016

I won't write code for you. you can use this

https://sampwiki.blast.hk/wiki/RemovePlayerMapIcon


Re: Map icon - SaiyanZ - 03.05.2016

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
It removes all players map icons.
And Removeplayermapicon is not removing, If i set any players map icon then it removes that but not his real one


Re: Map icon - Konstantinos - 03.05.2016

https://sampwiki.blast.hk/wiki/Colors_List#Doing_math

Set "alpha" to 0xFF for visible and to 0x0 for invisible marker.


Re: Map icon - F1N4L - 03.05.2016

I do not remember, correct me if I'm wrong:
Код:
for(new i = 0; i < MAX_PLAYERS; i ++) SetPlayerMarkerForPlayer(TARGETID, i, 0xFFFFFF00);