[Ajuda] Bug /lideres
#1

Iai gente beleza ? Bom infelizmente nгo consegui arrumar este bug bom eu estou como lider no /orgs mas no /lideres mostra que nгo tem ninguйm online.


pawn Код:
CMD:lideres(playerid)
{
    SendClientMessage(playerid, COLOR_ORCHID, "lideres presentes");
    foreach(new i: Player)
    {
        if(Player[i][pLeader] == TEAM_PM){format(thestring, 128, "(%d)Policia Militar: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_PM, thestring);}
        if(Player[i][pLeader] == TEAM_PF){format(thestring, 128, "(%d)Policia Federal: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_PF, thestring);}
        if(Player[i][pLeader] == TEAM_FA){format(thestring, 128, "(%d)Forcas Armadas: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_FA, thestring);}
        if(Player[i][pLeader] == TEAM_BOMBE){format(thestring, 128, "(%d)Bombeiros: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_MEDICOS, thestring);}
        if(Player[i][pLeader] == TEAM_BALLAS){format(thestring, 128, "(%d)Front Yard Ballas: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_BALLAS, thestring);}
        if(Player[i][pLeader] == TEAM_GROOVE){format(thestring, 128, "(%d)Grove Street Families: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_GROOVE, thestring);}
        if(Player[i][pLeader] == TEAM_PREF){format(thestring, 128, "(%d)Prefeito: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_PREF, thestring);}
        if(Player[i][pLeader] == TEAM_HITMAN){format(thestring, 128, "(%d)Hitman: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_HITMAN, thestring);}
        if(Player[i][pLeader] == TEAM_SANEWS){format(thestring, 128, "(%d)Reporter: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_SANEWS, thestring);}
        if(Player[i][pLeader] == TEAM_LOWRIDERS){format(thestring, 128, "(%d)Lowrider: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_LOWRIDERS, thestring);}
        if(Player[i][pLeader] == TEAM_LOWRIDERS){format(thestring, 128, "(%d)Hamas: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_HAMAS, thestring);}
        if(Player[i][pLeader] == TEAM_VAGOS){format(thestring, 128, "(%d)Los Santos Vagos: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_VAGOS, thestring);}
        if(Player[i][pLeader] == TEAM_BIKERS){format(thestring, 128, "(%d)MotorBikers: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_BIKERS, thestring);}
        if(Player[i][pLeader] == TEAM_MUNICIPAL){format(thestring, 128, "(%d)Polнcia Rodoviбria: %s | Contato: %d.", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_MUNICIPAL, thestring);}
        if(Player[i][pLeader] == TEAM_AZTECAS){format(thestring, 128, "(%d)Varrio Los Aztecas: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_AZTECAS, thestring);}
        if(Player[i][pLeader] == TEAM_RUSSA){format(thestring, 128, "(%d)Mбfia Russa: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_RUSSA, thestring);}
        if(Player[i][pLeader] == TEAM_YAKUZA){format(thestring, 128, "(%d)Mafia Yakuza: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_YAKUZA, thestring);}
        if(Player[i][pLeader] == TEAM_DRIFTERS){format(thestring, 128, "(%d)Drifters: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_DRIFTERS, thestring);}
        if(Player[i][pLeader] == TEAM_CV){format(thestring, 128, "(%d)Comando Vermelho: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_CV, thestring);}
        if(Player[i][pLeader] == TEAM_PCC){format(thestring, 128, "(%d)PCC: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_PCC, thestring);}
        if(Player[i][pLeader] == TEAM_ROTA){format(thestring, 128, "(%d)ROTA: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_ROTA, thestring);}
        if(Player[i][pLeader] == TEAM_ALQAEDA){format(thestring, 128, "(%d)Al-Qaeda: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_ALQAEDA, thestring);}
        if(Player[i][pLeader] == TEAM_PCIVIL){format(thestring, 128, "(%d)Policia Civil: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_PCIVIL, thestring);}
        if(Player[i][pLeader] == TEAM_KINGS){format(thestring, 128, "(%d)King's: %s | Contato: %d", i, Player[i][pName], Player[i][pPnumber]);SendClientMessage(playerid, COLOR_KINGS, thestring);}
    }
    return true;
}
Reply
#2

Alguйm ? +REP pra quem me ajudar por favor ;x
Reply
#3

Alguйm? Nгo to conseguindo ;x
Reply
#4

IsPlayerConnected
Reply
#5

Por aonde ? Estou com bug ainda.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)