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



Markers help - Taz86 - 22.08.2009

Hey.


I have some dm area
and i want player wont sea other players markers when they tping to the dm place

I have the ShowPlayerMarkers(false); but I tryed to make it under OnGMInit but its hide all the time

I want the hide function only when plyaer tp to the dm area

How?


Re: Markers help - ronyx69 - 22.08.2009

Code:
for(new i = 0; i < MAX_PLAYERS; i++)
  {
    ShowPlayerNameTagForPlayer(playerid, i, false);
    SetPlayerMarkerForPlayer(playerid, i, (GetPlayerColor(i)&0xFFFFFF00));
  }
Add this to the command which you are using to join the DM.


Re: Markers help - Taz86 - 22.08.2009

Thanks, Keep like that mate :P