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



SetPlayerColor - Ciarannn - 05.01.2015

When I use SetPlayerColor, it adds a marker for the player on the mini-map. Is there any way to just set the players color in TAB but not show him on the mini-map?

EDIT: I searched the forums but didn't get any results.


Re: SetPlayerColor - Larceny - 05.01.2015

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


Re: SetPlayerColor - Write - 05.01.2015

Put this under OnGameModeInit and that should do it!
ShowPlayerMarkers(0);

For more info, wiki; https://sampwiki.blast.hk/wiki/ShowPlayerMarkers


Re: SetPlayerColor - Ciarannn - 05.01.2015

Thank you.


Re: SetPlayerColor - Crayder - 05.01.2015

You can also use a binary '&' and the color you want with 0xFFFFFF00.