SA-MP Forums Archive
[help]colors in tab - 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]colors in tab (/showthread.php?tid=160587)



[help]colors in tab - Sh@rp - 17.07.2010

maybe its too easy but i m begginer and I'd like to add one thing in GTA:RP GM, when you open TAB you could see colors on player like blue on police green on grove but not on map ?


Re: [help]colors in tab - Grim_ - 17.07.2010

You have to use
pawn Код:
SetPlayerColor(playerid, color);
But as far as hiding them on the mini-map, you will have to hide the player markers from other players.


Re: [help]colors in tab - ToPhrESH - 17.07.2010

Quote:
Originally Posted by Grim_
Посмотреть сообщение
You have to use
pawn Код:
SetPlayerColor(playerid, color);
But as far as hiding them on the mini-map, you will have to hide the player markers from other players.
Is there a function not named HidePlayerMarkerForAll but somethign similiar?


Re: [help]colors in tab - Grim_ - 17.07.2010

They're all here, if this is what you were asking for. There are also some really nice examples on this page on how-to use them:
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer