SA-MP Forums Archive
How to limit the range for player map icons? - 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: How to limit the range for player map icons? (/showthread.php?tid=397822)



How to limit the range for player map icons? - 101 - 07.12.2012

How to limit the range for player map icons? I noticed SACNR did it.


Respuesta: How to limit the range for player map icons? - ThePhenix - 07.12.2012

I don't understand what you meant.
but I think you might do a:

PHP код:
#define MAX_MAP_ICONS 100 



Re: How to limit the range for player map icons? - Glad2BeHere - 07.12.2012

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


Re: How to limit the range for player map icons? - LarzI - 07.12.2012

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


Re: How to limit the range for player map icons? - PlayLSX_Founder - 07.12.2012

Style option used is SetPlayerMapIcon:

pawn Код:
0: MAPICON_LOCAL                Display in the player's local area
1: MAPICON_GLOBAL               Display always
2: MAPICON_LOCAL_CHECKPOINT     Display in the player'
s local area and has a checkpoint marker
3: MAPICON_GLOBAL_CHECKPOINT    Display always and has a checkpoint marker



Re: How to limit the range for player map icons? - 101 - 07.12.2012

I mean the PLAYER MAP icons that you see on your map. Those of the players, the player markers. Not the things you guys told me.


Re: How to limit the range for player map icons? - RajatPawar - 07.12.2012

I don't know if you can do that, but you can get distance between two players and if it is more than for example; 100, then you can set the other players MAP ICON as Transparent.


Re: How to limit the range for player map icons? - Vince - 07.12.2012

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