Help about mini map bug
#1

Код:
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)
Reply
#2

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

pawn Код:
LimitPlayerMarkerRadius(360.0);
...

It speaks for itself. Doesn't it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)