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



Question - cruising - 05.06.2011

Is it possible to make radar blips disappear when a player comes close to another player?


Re: Question - Gamer_Z - 05.06.2011

radar blips? Player Icons? - yes , there are scripting functions to make them (dis)appear .


Re: Question - cruising - 05.06.2011

Quote:
Originally Posted by gamer_Z
Посмотреть сообщение
radar blips? Player Icons? - yes , there are scripting functions to make them (dis)appear .
ok, because i have done something, and that was not much, when you are far away from a player, you see him on the radar, and when you get close to him, the radar blip disappear.


Re: Question - Ricop522 - 05.06.2011

I have this question too.


Re: Question - Gamer_Z - 05.06.2011

youu can use incognito's streamer plugin to attach area's to players, then if any other player enters remove the player icons, when leaves show it again. Really easy, believe me.


Re: Question - cruising - 05.06.2011

Quote:
Originally Posted by gamer_Z
Посмотреть сообщение
youu can use incognito's streamer plugin to attach area's to players, then if any other player enters remove the player icons, when leaves show it again. Really easy, believe me.
Now i mean that i have done something in my GM that make players on the radar disappear when you come close to them, and appear when you get far away from them.


Re: Question - Gamer_Z - 05.06.2011

okay nice. so maybe you explain rico how you did it? :P


Re: Question - cruising - 05.06.2011

Quote:
Originally Posted by gamer_Z
Посмотреть сообщение
okay nice. so maybe you explain rico how you did it? :P
Its just that, i dont know what i did :S
i have
pawn Код:
ShowPlayerMarkers(0);
and on OnPlayerSpawn
pawn Код:
if(GetPlayerTeam(playerid) == 3)ShowPlayerMarkers(1);
and it just went that way, that why i in first post asked if it really is possible, make no sense that only what i did make players marker disappear when close to them and appear when far away :O