PDA

View Full Version : Map icon


SaiyanZ
03/05/2016, 02:17 PM
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?

N0FeaR
03/05/2016, 02:20 PM
You should use this https://wiki.sa-mp.com/wiki/ShowPlayerMarkers

Micko123
03/05/2016, 02:20 PM
I won't write code for you. you can use this

https://wiki.sa-mp.com/wiki/RemovePlayerMapIcon

SaiyanZ
03/05/2016, 02:25 PM
You should use this https://wiki.sa-mp.com/wiki/ShowPlayerMarkers
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

Konstantinos
03/05/2016, 02:28 PM
http://wiki.sa-mp.com/wiki/Colors_List#Doing_math

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

F1N4L
03/05/2016, 02:30 PM
I do not remember, correct me if I'm wrong:
for(new i = 0; i < MAX_PLAYERS; i ++) SetPlayerMarkerForPlayer(TARGETID, i, 0xFFFFFF00);