Help Icon a Player?
#1

how to remove and bring up the icon player in the minimap?

example :
taxi drivers appear in the minimap
whereas ordinary wagra not appear in the minimap

thanks before

note : picture? not an example
Reply
#2

EDIT: https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
Loop through all the players and make them see the taxi driver's marker. If you want to remove the marker then do the same, but make the color transparent so it will disappear, that's all in the wiki so have a look there.
Reply
#3

thnks dude, i will try it
Reply
#4

I updated my post because the stuff I told you was wrong, I confused something.
Reply
#5

okey dud, i think so, u comment for add a some icon in the minimap, not player icon

btw thanks, i will try it
Reply
#6

You can just use SetPlayerColor if you want the marker to be (in)visible globally, no need to use a loop with SetPlayerMarkerForPlayer.
For example: display the taxi drivers for all players on the map.

On a player-per-player basis, SetPlayerMarkerForPlayer is indeed needed.
For example: display the taxi drivers for players 0 to 9 on the map, but not for players 10 to 999.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)