[Ajuda] Cores
#1

Eu coloquei Cor no Nick ,Mas quando eu boto cor no nick Todo mundo fica aparecendo no mapa oque eu faзo ? Pra botar pra nгo aparecer

aqui estгo as cores

pawn Код:
public SetPlayerToTeamColor(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        if(Player[playerid][pAdmin] < 1) { SetPlayerColor(playerid, 0xFFFFFF00); } //NAO ADMINS
        //=====================================Admin========================================//
        if(Player[playerid][pMember] == 0) { SetPlayerColor(playerid, 0xFFFFFF00); } //Civil
        //=====================================PM LS========================================//
        if(Player[playerid][pMember] == 1) { SetPlayerColor(playerid, COLOR_PM); } //COP
        //=====================================FBI========================================//
        if(Player[playerid][pMember] == 2) { SetPlayerColor(playerid, COLOR_PF); } //FBI
        //=====================================Exercito========================================//
        if(Player[playerid][pMember] == 3) { SetPlayerColor(playerid, COLOR_FA); } //NG
        //=====================================Medicos========================================//
        if(Player[playerid][pMember] == 4) { SetPlayerColor(playerid, COLOR_MEDICOS); } //M/F
        //=====================================Ballas LS========================================//
        if(Player[playerid][pMember] == 5) { SetPlayerColor(playerid, COLOR_BALLAS); } //LCN
        //=====================================Grove LS========================================//
        if(Player[playerid][pMember] == 6) { SetPlayerColor(playerid, COLOR_GROOVE); } //YKZ
        //=====================================Prefeito========================================//
        if(Player[playerid][pMember] == 7) { SetPlayerColor(playerid, COLOR_PREF); } //MAYOR
        //=====================================Hitmans========================================//
        if(Player[playerid][pMember] == 8) { SetPlayerColor(playerid, COLOR_HITMAN); } //Hitman
        //=====================================Reporter========================================//
        if(Player[playerid][pMember] == 9) { SetPlayerColor(playerid, COLOR_SANEWS); } //NEWS
        //=====================================Lowrider========================================//
        if(Player[playerid][pMember] == 10) { SetPlayerColor(playerid, COLOR_LOWRIDERS); } //TAXI
        //=====================================San Fierro Riffas========================================//
        if(Player[playerid][pMember] == 11) { SetPlayerColor(playerid, COLOR_RIFA); } //SI
        //=====================================Los Santos Vagos========================================//
        if(Player[playerid][pMember] == 12) { SetPlayerColor(playerid, COLOR_VAGOS); }
        //=====================================MOTORBIKE========================================//
        if(Player[playerid][pMember] == 13) { SetPlayerColor(playerid, COLOR_BIKERS); } //Crimpton Crips
        //=====================================Policia Rodoviaria========================================//
        if(Player[playerid][pMember] == 14) { SetPlayerColor(playerid, COLOR_MUNICIPAL); } //Corleone Familgia
        //=====================================Los Aztecas========================================//
        if(Player[playerid][pMember] == 15) { SetPlayerColor(playerid, COLOR_AZTECAS); } //
        //=====================================Thiads========================================//
        if(Player[playerid][pMember] == 16) { SetPlayerColor(playerid, COLOR_RUSSA); } //El Santos
        //=====================================Mafia Yakuza========================================//
        if(Player[playerid][pMember] == 17) { SetPlayerColor(playerid, COLOR_YAKUZA); } //Mongols MC
        //=====================================Drifters========================================//
        if(Player[playerid][pMember] == 18) { SetPlayerColor(playerid, COLOR_DRIFTERS); } //Mongols MC
        //=====================================Comando Vermelho========================================//
        if(Player[playerid][pMember] == 19) { SetPlayerColor(playerid, COLOR_CV); } //Mongols MC
        //=====================================PCC========================================//
        if(Player[playerid][pMember] == 20) { SetPlayerColor(playerid, COLOR_PCC); } //Mongols MC
        //=====================================Bope========================================//
        if(Player[playerid][pMember] == 21) { SetPlayerColor(playerid, COLOR_BOPE); } //Mongols MC
        //=====================================Al-Qaeda========================================//
        if(Player[playerid][pMember] == 22) { SetPlayerColor(playerid, COLOR_ALQAEDA); } //Mongols MC
        //=====================================Policia Civil========================================//
        if(Player[playerid][pMember] == 23) { SetPlayerColor(playerid, COLOR_PCIVIL); } //Mongols MC
        //=====================================KINGS========================================//
        if(Player[playerid][pMember] == 24) { SetPlayerColor(playerid, COLOR_KINGS); } //Mongols MC
        //=====================================ADMINS=======================================//
        if(AdminDuty[playerid] == 1)
        {
            if(Player[playerid][pAdmin] > 1) { SetPlayerColor(playerid, COLOR_ADMIN); } //ADMINS
        }
    }
}
stock GetTagColor(orgid)
{
    if(orgid == TEAM_PM || orgid == TEAM_PF || orgid == TEAM_BOPE)
        return COLOR_GREY;
    else
        return 0xAFAFAFAA;
}
Reply


Messages In This Thread
Cores - by BigRet - 22.06.2014, 17:20
Re: Cores - by Gii - 22.06.2014, 17:27
Re: Cores - by PT - 22.06.2014, 17:43
Re: Cores - by BigRet - 22.06.2014, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)