SA-MP Forums Archive
stupid nooby question from a stupid noob ;) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: stupid nooby question from a stupid noob ;) (/showthread.php?tid=106385)



stupid nooby question from a stupid noob ;) - Packer5 - 02.11.2009

What is the function to make a red marker appear on the minimap?
I know this is really basic but I cannot find it anywhere.
thanks


Re: stupid nooby question from a stupid noob ;) - MB@ - 02.11.2009

Hmh You Could Use SetPlayerCheckpoint(playerid,Float,Float:y,Float :z,Floatize)



Re: stupid nooby question from a stupid noob ;) - Packer5 - 02.11.2009

Hm. so where do I define whether i want it to dissapear when I distance myself or whether I want it to stay on the map as a guide. if you see what I mean?


Re: stupid nooby question from a stupid noob ;) - MB@ - 02.11.2009

You could use SetPlayerMapIcon(playerid, iconid, Float, Float:y, Float:z, markertype, color);

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





Re: stupid nooby question from a stupid noob ;) - Packer5 - 02.11.2009

Cheers man!


Re: stupid nooby question from a stupid noob ;) - Packer5 - 02.11.2009

SetPlayerMapIcon doesn't have an option for the icon to always be visible.. even when you are out of the minimap range.


Re: stupid nooby question from a stupid noob ;) - dice7 - 02.11.2009

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


Re: stupid nooby question from a stupid noob ;) - Packer5 - 02.11.2009

Remove??