How to limit the range for player map icons?
#1

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

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

PHP код:
#define MAX_MAP_ICONS 100 
Reply
#3

https://sampwiki.blast.hk/wiki/Limits
Reply
#4

https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Reply
#5

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
Reply
#6

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.
Reply
#7

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.
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)