13.09.2009, 19:01
Change it to this
This will solve it , ask me if you get any other problem
pawn Код:
public OnPlayerSpawn(playerid)
{
switch(gClass[playerid])
{
case 0:
{
SetPlayerColor(playerid, COLOR_GREEN); //Grove
}
case 1:
{
SetPlayerColor(playerid, COLOR_GREEN); //Grove
}
case 3:
{
SetPlayerColor(playerid, COLOR_GREEN); //Grove
}
case 4:
{
SetPlayerColor(playerid, COLOR_GREEN); //Grove
}
case 5:
{
SetPlayerColor(playerid, COLOR_PURPLE); //Ballas
}
case 6:
{
SetPlayerColor(playerid, COLOR_PURPLE); //Ballas
}
case 7:
{
SetPlayerColor(playerid, COLOR_PURPLE); //Ballas
}
case 8:
{
SetPlayerColor(playerid, COLOR_BLUE); //Cops
}
case 9:
{
SetPlayerColor(playerid, COLOR_BLUE); //Cops
}
case 10:
{
SetPlayerColor(playerid, COLOR_BLUE); //Cops
}
case 11:
{
SetPlayerColor(playerid, COLOR_BLUE); //Cops
}
case 12:
{
SetPlayerColor(playerid, COLOR_BLUE); //Cops
}
case 14:
{
SetPlayerColor(playerid, COLOR_YELLOW); //Los Santos Vagos
}
case 15:
{
SetPlayerColor(playerid, COLOR_YELLOW); //Los Santos Vagos
}
case 16:
{
SetPlayerColor(playerid, COLOR_YELLOW); //Los Santos Vagos
}
case 17:
{
SetPlayerColor(playerid, COLOR_DESERTIAN); //Desertians
}
}
return 1;
}