SA-MP Forums Archive
SetPlayerMarkerForPlayer Problem :( - 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: SetPlayerMarkerForPlayer Problem :( (/showthread.php?tid=70378)



SetPlayerMarkerForPlayer Problem :( - volkov-s - 24.03.2009

I'm in the TDM mode, two teams - blue and red. I want that blue see only blue on radar and red only red. I tried to use the SetPlayerMarkerForPlayer function, but I failed. I would like to see a script (as an example) which use this function. Thx.


Re: SetPlayerMarkerForPlayer Problem :( - Littl3j0hNy - 24.03.2009

Hi,

Use: ShowPlayerMarkers(true); - in GameModeInit
and SetPlayerColor in OnPlayerSpawn

After you've inserted the marker should work.

- LJ