Map icon
#1

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?
Reply
#2

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

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

https://sampwiki.blast.hk/wiki/RemovePlayerMapIcon
Reply
#4

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
Reply
#5

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)