SA-MP Forums Archive
player square on minimap - 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: player square on minimap (/showthread.php?tid=307766)



player square on minimap - Unknown123 - 01.01.2012

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?


Re: player square on minimap - LiamM - 01.01.2012

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.


Re: player square on minimap - Unknown123 - 01.01.2012

its a square like on this pic


(the white square, but its not a player)


Re: player square on minimap - jamesbond007 - 01.01.2012

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

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

rep++


Re: player square on minimap - DonWade - 01.01.2012

or like said before , use setracecheckpint , for better visibility


Re: player square on minimap - Babul - 01.01.2012

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