SA-MP Forums Archive
Player Color - 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: Player Color (/showthread.php?tid=481277)



Player Color - TheSnaKe - 14.12.2013

Hey guys, how can i make the player in the map be invisible? Like CIA faction i want it to be invisible in the map, how can i do that color?


Re: Player Color - Hansrutger - 14.12.2013

Add this onto your "OnGameModeInit":

Код:
ShowPlayerMarkers(0);
That will make all of them removed however, not only for those who are in CIA faction. So I suggest you go and play around with https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer the function called SetPLayerMarkerForPlayer.


Re: Player Color - TheSnaKe - 14.12.2013

Quote:
Originally Posted by Hansrutger
Посмотреть сообщение
Add this onto your "OnGameModeInit":

Код:
ShowPlayerMarkers(0);
That will make all of them removed however, not only for those who are in CIA faction. So I suggest you go and play around with https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer the function called SetPLayerMarkerForPlayer.
Done, thank you.