SA-MP Forums Archive
[Help] Map Markers - 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: [Help] Map Markers (/showthread.php?tid=73691)



[Help] Map Markers - Sean12 - 17.04.2009

Okay I have been trying to figure this out for the past few weeks and I just can't get it down, everytime you connect to the server the markers won't show, but when that player dies or another player logs in, you will start seeing map markers for some reason I think it something to do with the spawn, so I went down to public OnPlayerSpawn; and put in this code

Код:
ShowPlayerMarkers(false);
and
Код:
ShowPlayerMarkers(0);
But they still show they look like this


can someone please help me figure this out?


Re: [Help] Map Markers - Joe Staff - 17.04.2009

I think it has to be placed in main() or OnGameModeInit(). If that doesn't work...

pawn Код:
OnPlayerConnect(playerid,ip[])
{
  SetPlayerColor(playerid,GetPlayerColor(playerid)-255));
}



Re: [Help] Map Markers - Pyrokid - 17.04.2009

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