SA-MP Forums Archive
Team Colors [HELP] - 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: Team Colors [HELP] (/showthread.php?tid=527887)



Team Colors [HELP] - [Cali]ChrOnic_T - 25.07.2014

Is it possible to make it so ONLY players on that team can see of there teammates.

For example:

All groves see there teammates on the map as Green but other players thats not on their team see them as White. I really hope someone can help .



Re: Team Colors [HELP] - GeekSiMo - 25.07.2014

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


Respuesta: Team Colors [HELP] - [Cali]ChrOnic_T - 25.07.2014

Can you give an example like?

pawn Код:
foreach(Player,i)
if(gTeam[i] == TEAM_GROVE){
SetPlayerMarketForPlaeyr(42, i , 0x888888C8);
}
Thats just an example but i dont know how to do it so can you tell me how to do this?


Re: Team Colors [HELP] - Stanford - 25.07.2014

Delete the condition "if(== gteam etc" and it's bracket and it will work, I hope I helped any feedback would be appreciated.