SA-MP Forums Archive
SetPlayerMapIcon - 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: SetPlayerMapIcon (/showthread.php?tid=649900)



SetPlayerMapIcon - PundacheMakalae - 17.02.2018

Is SetPlayerMapIcon appears or can be seen only if the player is near it? If so, how can i make it visible from a long distance?

What im trying to do is to make a cmd to a place, kinda like a way point. When they use the cmd /gps it creates a map icon, and they have to follow it.


Re: SetPlayerMapIcon - GRiMMREAPER - 17.02.2018

You'd have to use Incognito's Streamer plugin and use:

pawn Код:
CreateDynamicMapIcon(X, Y, Z, type, color, worldid, inteirorid, playerid, streamdistance)



Re: SetPlayerMapIcon - PundacheMakalae - 17.02.2018

Quote:
Originally Posted by GRiMMREAPER
Посмотреть сообщение
You'd have to use Incognito's Streamer plugin and use:

pawn Код:
CreateDynamicMapIcon(X, Y, Z, type, color, worldid, inteirorid, playerid, streamdistance)
Isn't CreateDynamicMapIcon for setting globally? or for a single player as it says playerid right before streamdistance


Re: SetPlayerMapIcon - Mugala - 17.02.2018

Quote:
Originally Posted by PundacheMakalae
Посмотреть сообщение
Isn't CreateDynamicMapIcon for setting globally? or for a single player as it says playerid right before streamdistance
you have a streamdistance here, you can set a distance by yourself.


Re: SetPlayerMapIcon - PepsiCola23 - 17.02.2018

https://github.com/samp-incognito/sa...ves-(Map-Icons)