27.11.2011, 01:42
Im sure use use gTeam, so,
Under OnPlayerSpawn do:
etc, etc.
Under OnPlayerSpawn do:
pawn Код:
if(gTeam[playerid] == TEAM_GROVE)
{
SetPlayerColor(playerid, TEAM_GROVE_COLOR);
}
else if(gTeam[playerid] == TEAM_BALLAS)
{
SetPlayerColor(playerid, TEAM_BALLAS_COLOR);
}