player square on minimap
#1

how can i create an player square on minimap at x, y, z pos?

i have seen servers with "player square on minimap" to locate mission things, whats the name of function?
Reply
#2

SetPlayerRaceCheckPoint? It will set a checkpoint on the map, but you could just create a map icon and use the map icon set 0 I think it is. Which is a square.
Reply
#3

its a square like on this pic


(the white square, but its not a player)
Reply
#4

SetPlayerMapIcon( playerid, 15, 2204.9468, 1986.2877, 16.7380, 1, 0, MAPICON_LOCAL );

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

rep++
Reply
#5

or like said before , use setracecheckpint , for better visibility
Reply
#6

you can use the icon ID 0, its not listed in the wiki, but when you provide a color (not black), then it will show in the desired color. even the alpha channel works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)