23.09.2014, 14:43
I gave u the code -.- case 29 .. 100:
If u want all of it it's
If u want all of it it's
Код:
public OnPlayerSpawn(playerid) { IsPlayerPolice[playerid] = 0; switch(GetPlayerSkin(playerid)) { case 105 .. 107: { SetPlayerTeam(playerid, TEAM_GROVE); SetPlayerColor(playerid, COL_GREEN); } case 102 .. 104: { SetPlayerTeam(playerid, TEAM_BALLAS); SetPlayerColor(playerid, COL_PURPLE); } case 7 .. 73: { SetPlayerColor(playerid, COLOR_WHITE); } case 108 .. 110: { SetPlayerTeam(playerid, TEAM_VAGOS); SetPlayerColor(playerid, COL_YELLOW); } case 280 .. 285: { SetPlayerTeam(playerid, TEAM_POLICE); SetPlayerColor(playerid, COLOR_BLUE); IsPlayerPolice[playerid] = 1; } case 29 .. 100: { SetPlayerTeam(playerid, TEAM_DRUGDEALERS); SetPlayerColor(playerid, COL_RED); } case 114 .. 116: { SetPlayerTeam(playerid, TEAM_AZTECAS); SetPlayerColor(playerid, COL_LIGHTBLUE); } } return 1; }