09.09.2012, 18:03
Ainda nгo deu em nada todas as orgs ficam assim:
Uploaded with ImageShack.us
Uploaded with ImageShack.us
O cуdigo ficou Assim :
Uploaded with ImageShack.us
Uploaded with ImageShack.us
O cуdigo ficou Assim :
pawn Код:
public SetPlayerToTeamColor(playerid)
{
if(admtrampando[playerid] == 1 && admhide[playerid] != 1)
{
SetPlayerColor(playerid, COR_ADMIN);
}
else if (PlayerInfo[playerid][pTeam] == 3)//Civis
{
SetPlayerColor(playerid, 0xFFFFFFFF);
}
else if(PlayerInfo[playerid][pHelperTrabalhando] == 1)//helpers
{
SetPlayerColor(playerid, 0x00FFFFAA);
}
else if (PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)//PM
{
SetPlayerColor(playerid, 0x9999FFF6);
}
else if (PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)//ROTA
{
SetPlayerColor(playerid, 0x000000FF);
}
else if (PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)//Exйrcito
{
SetPlayerColor(playerid, 0x00660CF6);
}
else if (PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)//S.A.M.U
{
SetPlayerColor(playerid, 0xFF0000FF);
}
else if (PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)//Aztecas
{
SetPlayerColor(playerid, 0x2FAFF5F6);
}
else if (PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)//Taliban
{
SetPlayerColor(playerid, 0xFE005DFF);
}
else if (PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)//Governo
{
SetPlayerColor(playerid, 0x6699FFF6);
}
else if (PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)//Hitmans
{
SetPlayerColor(playerid, 0xA9A9A9F6);
}
else if (PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)//Reporter
{
SetPlayerColor(playerid, 0xFFC1C1F6);
}
else if (PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)//Taxistas
{
SetPlayerColor(playerid, 0xFFA405FF);
}
else if (PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)//PF
{
SetPlayerColor(playerid, 0x5F5B5DFF);
}
else if (PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12)//Mбfia Cosa Nostra
{
SetPlayerColor(playerid, 0x00FFFFAA);
}
else if (PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)//Mбfia Yakuza
{
SetPlayerColor(playerid, 0x660066F6);
}
else if (PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)//Grove
{
SetPlayerColor(playerid, 0x33FF00F6);
}
else if (PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)//Guerrilheiros Israelita
{
SetPlayerColor(playerid, 0x33CCFFAA);
}
else if (PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)//Policia Civil
{
SetPlayerColor(playerid, 0x93833EF6);
}
else if (PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)//BALLAS
{
SetPlayerColor(playerid, 0x9900CCF6);
}
else if (PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)//vagos
{
SetPlayerColor(playerid, 0xFFFF33F6);
}
else if (PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)//CV
{
SetPlayerColor(playerid, 0xF6000000);
}
else if (PlayerInfo[playerid][pMembro] == 20 || PlayerInfo[playerid][pLider] == 20)//PCC
{
SetPlayerColor(playerid, 0xCCFF99FF);
}
else if (PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)//Os Pobre Loko
{
SetPlayerColor(playerid, 0x98F5FFAA);
}
else if (PlayerInfo[playerid][pMembro] == 22 || PlayerInfo[playerid][pLider] == 22)//Sons
{
SetPlayerColor(playerid, 0x8B0000AA);
}
else if (PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)//Minight
{
SetPlayerColor(playerid, 0xBF80FFAA);
}
else if (PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)//TCP
{
SetPlayerColor(playerid, 0x8B4513FF);
}
else if (PlayerInfo[playerid][pMembro] == 25 || PlayerInfo[playerid][pLider] == 25)//blood
{
SetPlayerColor(playerid, 0x00D8F0AA);
}
else if (PlayerInfo[playerid][pMembro] == 26 || PlayerInfo[playerid][pLider] == 26)//PR
{
SetPlayerColor(playerid, 0xFF6347AA);
}
else if (PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27)//G-Unit
{
SetPlayerColor(playerid, 0x363636AA);
}
}