[Ajuda] Ajuda Cor Org
#10

Ajusta as orgs para o seu gm , espero ter ajudado!
pawn Код:
public SetPlayerToTeamColor(playerid)
{
    if(admtrampando[playerid] == 1 && admhide[playerid] != 1)
    {
        SetPlayerColor(playerid, COR_ADMIN);
    }
    else if(helpertrampando[playerid] == 1 && helperhide[playerid] != 1)
    {
        SetPlayerColor(playerid, 0xF09C00AA);
    }
    else if (PlayerInfo[playerid][pTeam] == 3)//Civis
    {
       SetPlayerColor(playerid, COLOR_WHITE);
    }
    else if (PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)//PM
    {
       SetPlayerColor(playerid, COR_PM);
    }
    else if (PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)//ROTAM
    {
       SetPlayerColor(playerid, COR_ROTAM);
    }
    else if (PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)//Exйrcito
    {
       SetPlayerColor(playerid, COR_EXE);
    }
    else if (PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)//Mйdicos
    {
       SetPlayerColor(playerid, SAMU);
    }
    else if (PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)//Aztecas
    {
       SetPlayerColor(playerid, COR_AZTECAS);
    }
    else if (PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)//Gi
    {
       SetPlayerColor(playerid, COR_GI);
    }
    else if (PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)//Governo
    {
       SetPlayerColor(playerid, COR_PRE);
    }
    else if (PlayerInfo[playerid][pMembro] == 8 || PlayerInfo[playerid][pLider] == 8)//Hitmans
    {
       SetPlayerColor(playerid, COR_HITMAN);
    }
    else if (PlayerInfo[playerid][pMembro] == 9 || PlayerInfo[playerid][pLider] == 9)//Reporter
    {
       SetPlayerColor(playerid, COR_REP);
    }
    else if (PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)//Taxistas
    {
       SetPlayerColor(playerid, COR_TAXI);
    }
    else if (PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)//PF
    {
       SetPlayerColor(playerid, COR_PF);
    }
    else if (PlayerInfo[playerid][pMembro] == 12 || PlayerInfo[playerid][pLider] == 12)//Grove
    {
       SetPlayerColor(playerid, COR_GRO);
    }
    else if (PlayerInfo[playerid][pMembro] == 13 || PlayerInfo[playerid][pLider] == 13)//BALLAS
    {
       SetPlayerColor(playerid, COR_BALLAS);
    }
    else if (PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)//vagos
    {
       SetPlayerColor(playerid, COR_VAGOS);
    }
    else if (PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)//ComandoVermelho
    {
       SetPlayerColor(playerid, COR_CV);
    }
    else if (PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)//Triads
    {
       SetPlayerColor(playerid, COR_TRIAD);
    }
    else if (PlayerInfo[playerid][pMembro] == 17 || PlayerInfo[playerid][pLider] == 17)//MECA
    {
       SetPlayerColor(playerid, COR_MECANICOS);
    }
    else if (PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18)//BOMBEIROS
    {
       SetPlayerColor(playerid, COR_BOMBEIROS);
    }
    else if (PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)//FARC
    {
       SetPlayerColor(playerid, COR_FARC);
    }
    else //caso dк algum bug
    {
       SetPlayerColor(playerid, COLOR_WHITE);
    }
}
Reply


Messages In This Thread
Ajuda Cor Org - by felipe_mr - 09.09.2012, 17:07
Re: Ajuda Cor Org - by Lucas Carneiro™ - 09.09.2012, 17:19
Re: Ajuda Cor Org - by felipe_mr - 09.09.2012, 17:49
Re: Ajuda Cor Org - by darkxdll - 09.09.2012, 17:51
Re: Ajuda Cor Org - by felipe_mr - 09.09.2012, 18:03
Re: Ajuda Cor Org - by felipe_mr - 09.09.2012, 18:56
Re: Ajuda Cor Org - by Vinicius_HardScore - 09.09.2012, 22:13
Re: Ajuda Cor Org - by felipe_mr - 09.09.2012, 22:27
Re: Ajuda Cor Org - by felipe_mr - 10.09.2012, 15:46
Respuesta: Ajuda Cor Org - by bastiga - 10.09.2012, 20:20

Forum Jump:


Users browsing this thread: 2 Guest(s)