20.02.2010, 17:21
I am not sure if this works, but I have read this somewhere, add 'return 1;', so it'll be like this:
Код:
SetPlayerToTeamColor(playerid) { if (gTeam[playerid] == TeamGrovest) { SetPlayerColor(playerid, TeamGrovestColor); } else if (gTeam[playerid] == TeamBallas) { SetPlayerColor(playerid, TeamBallasColor); } else if (gTeam[playerid] == TeamVagos) { SetPlayerColor(playerid, TeamVagosColor); } else if (gTeam[playerid] == TeamTriads) { SetPlayerColor(playerid, TeamTriadsColor); } return 1; }