SA-MP Forums Archive
Map Icon :D - 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: Map Icon :D (/showthread.php?tid=506247)



Map Icon :D - shubham20 - 12.04.2014

How to make a map icon which changes position with events?
For egs. I have a moneybag script. I want the script to show moneybag location on map with a dollar sign and the location should change with every new moneybag.
Please tell urgent help needed.


Re: Map Icon :D - SupaFool - 12.04.2014

Here, you might have to make a timer.

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

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


Re: Map Icon :D - shubham20 - 12.04.2014

It can't be that map icon automatically changes because my script has no timer


Re: Map Icon :D - BroZeus - 12.04.2014

when a player finds a money bag then use this https://sampwiki.blast.hk/wiki/RemovePlayerMapIcon
and when new money bag is created use this https://sampwiki.blast.hk/wiki/SetPlayerMapIcon


Re: Map Icon :D - shubham20 - 12.04.2014

ty dudes for trying but i fixed the bug with the help of my friend.