Help about mini map bug - 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: Help about mini map bug (
/showthread.php?tid=578276)
Help about mini map bug -
XaibBaba - 18.06.2015
Код:
public OnGameModeInit()
{
new string[42];
SetTimer("ChangeHostName",2000,2);
AntiDeAMX();
Streamer_TickRate(125);
SetGameModeText(SERVER_VERSION);
EnableStuntBonusForAll(0);
ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED);
LimitPlayerMarkerRadius(360.0);
DisableInteriorEnterExits();
SetNameTagDrawDistance(45.0);
AllowInteriorWeapons(1);
UsePlayerPedAnims();
BH = 0;
SetTimer("AutoMessage",60*1000*AUTO_MESSAGE_TIME,1);
if(Jackpot < 0) Jackpot = 0;
my all cmds of SetPlayerMarkerForPlayer are bug and not showing far from the target in radar (mini map)
Re: Help about mini map bug -
rainbowPUKE - 19.06.2015
PLAYER_MARKERS_MODE_OFF (0) // Off
PLAYER_MARKERS_MODE_GLOBAL (1) // Global
PLAYER_MARKERS_MODE_STREAMED (2) // Nearby players only
Try ShowPlayerMarkers(1); instead of ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED);
and see if it gives you the desired result
Re: Help about mini map bug -
Threshold - 19.06.2015
pawn Код:
LimitPlayerMarkerRadius(360.0);
...
It speaks for itself. Doesn't it?