Color 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: Color help (
/showthread.php?tid=437795)
---------- -
K3nX - 17.05.2013
----------
Re: Color help -
gDarius - 17.05.2013
pawn Код:
if(gTeam[playerid] >= 9)
{
SetPlayerColor(playerid,COLOR_WHITE);
}
Why are you using this?
well, on your OnPlayerSpawn callback use.
pawn Код:
if(gTeam[playerid] == TEAM_MAFIA) {
SetPlayerColor(playerid, COLOR_BROWN);
}