[Ayuda] Urgente! їPorque esto!?
#6

No entiendes (<--me encanta ese meme xD) no osea, Te dire un Ejemplo muy entendible! xD bien, yo soy de Yakuza o Mara Salvatrucha 13 (facciones que cree en mi servidor) bien pongamos que sea lider de cualquiera de las dos, y tu eres Civil, y te pongo /invitar ID, osea te meto a mi faccion, Aja. Entras normalmente.. pero cuando el que fue Invitado (Giveplayer | Playerid) osea tu, pone /cuenta Crashea el server y se apaga todo a la re mierda

PD: aqui te dejo el ShowStats:

pawn Код:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
    {
        new cash =  GetPlayerMoney(targetid);
        new atext[20];
        if(PlayerInfo[targetid][pSex] == 1) { atext = "Masculino"; }
        else if(PlayerInfo[targetid][pSex] == 2) { atext = "Femenino"; }
        new otext[20];
        if(PlayerInfo[targetid][pOrigin] == 1) { otext = "America"; }
        else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Europa"; }
        else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Asia"; }
        else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Africa"; }
        new ttext[20];
        if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "FaccionX"; }
        else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civilian"; }
        else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "FaccionX"; }                   //
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "FaccionX; }                  //
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "
FaccionX"; }        //
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "
Mara Salvatrucha"; }       //los miembros al poner /cuenta hacen crashear el sv .-.
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "
FaccionX"; }       //
        else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "
FaccionX"; }               //
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "
FaccionX"; }                    //
        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "
FaccionX"; }
        //else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "
FaccionX"; }      //
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "
Yakuza"; }               //los miembros al poner /cuenta hacen crashear el sv .-.
        else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "
FaccionX"; }   //
        else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17) { ttext = "
FaccionX"; }         //
        else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18) { ttext = "
FaccionX"; }        //
        else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19) { ttext = "
FaccionX"; }      //
        else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21) { ttext = "
FaccionX"; }         //
        else if(PlayerInfo[targetid][pMember] == 22 || PlayerInfo[targetid][pLeader] == 22) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 23 || PlayerInfo[targetid][pLeader] == 23) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 24 || PlayerInfo[targetid][pLeader] == 24) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 25 || PlayerInfo[targetid][pLeader] == 25) { ttext = "
FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 26 || PlayerInfo[targetid][pLeader] == 26) { ttext = FaccionX"
; }
        else if(PlayerInfo[targetid][pMember] == 27 || PlayerInfo[targetid][pLeader] == 27) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 28 || PlayerInfo[targetid][pLeader] == 28) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 29 || PlayerInfo[targetid][pLeader] == 29) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 30 || PlayerInfo[targetid][pLeader] == 30) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 31 || PlayerInfo[targetid][pLeader] == 31) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 32 || PlayerInfo[targetid][pLeader] == 32) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 33 || PlayerInfo[targetid][pLeader] == 33) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 34 || PlayerInfo[targetid][pLeader] == 34) { ttext = "FaccionX"; }
        else if(PlayerInfo[targetid][pMember] == 35 || PlayerInfo[targetid][pLeader] == 35) { ttext = "FaccionX"; }
        new dtext[20];
        if(STDPlayer[targetid] == 1) { dtext = "X"; }
        else if(STDPlayer[targetid] == 2) { dtext = "X"; }
        else if(STDPlayer[targetid] == 3) { dtext = "X"; }
        else { dtext = "No"; }
        new ftext[30];
        ///============================ [ Lista de Rangos en cuenta] ===================
        if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
        { ftext = "X; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
        { ftext = "
X"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
        { ftext = "
MS13"; }//faccion del crash
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
        { ftext = "
X"; }
        else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
        { ftext = "
X"; }
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)
        { ftext = "
X"; }
        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
        { ftext = "
X"; }
        else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
        { ftext = "
X."; }
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
        { ftext = "
X"; }
        else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
        { ftext = "
X; }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
        { ftext = "YKZ"; }//faccion del crash
        else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 18 || PlayerInfo[targetid][pLeader] == 18)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 22 || PlayerInfo[targetid][pLeader] == 22)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 23 || PlayerInfo[targetid][pLeader] == 23)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 24 || PlayerInfo[targetid][pLeader] == 24)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 25 || PlayerInfo[targetid][pLeader] == 25)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 26 || PlayerInfo[targetid][pLeader] == 26)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 27 || PlayerInfo[targetid][pLeader] == 27)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 28 || PlayerInfo[targetid][pLeader] == 28)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 29 || PlayerInfo[targetid][pLeader] == 29)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 34 || PlayerInfo[targetid][pLeader] == 34)
        { ftext = "X"; }
        else if(PlayerInfo[targetid][pMember] == 30 || PlayerInfo[targetid][pLeader] == 30)
        { ftext = "X"; }
        else
        { ftext = "None"; }
        new f2text[20];
        if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; }
        else { f2text = "None"; }
        new rtext[64];
        if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)/
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Rank:%s X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "Novato"; }
        }
        else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 29 || PlayerInfo[targetid][pLeader] == 29)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 30 || PlayerInfo[targetid][pLeader] == 30)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)// YKZ Faccion del crash .-.
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 33 || PlayerInfo[targetid][pLeader] == 33)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 34 || PlayerInfo[targetid][pLeader] == 34)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 35 || PlayerInfo[targetid][pLeader] == 35)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 25 || PlayerInfo[targetid][pLeader] == 25)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 26 || PlayerInfo[targetid][pLeader] == 26)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 27 || PlayerInfo[targetid][pLeader] == 27)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 20 || PlayerInfo[targetid][pLeader] == 20)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//MS13 Segunda facc de crash .-.
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Pendejo"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Cabron Amigable"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "El Cuervo"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Soldado Carnal"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vato del Jefe"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "El Gringo"; }
            else { rtext = "Pendejo"; }
        }
        else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 31 || PlayerInfo[targetid][pLeader] == 31)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)// INS
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 17 || PlayerInfo[targetid][pLeader] == 17)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }

        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
            else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(IsATaxiDriver(targetid))
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 22 || PlayerInfo[targetid][pLeader] == 22)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 23 || PlayerInfo[targetid][pLeader] == 23)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 24 || PlayerInfo[targetid][pLeader] == 24)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else if(PlayerInfo[targetid][pMember] == 25 || PlayerInfo[targetid][pLeader] == 25)
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "X"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "X"; }
            else { rtext = "X"; }
        }
        else
        {
            rtext = "None";
        }
        new jtext[20];  // * => Activo / mejoras
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "X"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "X"; } // *
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "X"; }    // *              
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "X"; }  // *                New!
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "X"; }  // *
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "X"; } // *        New!
        else if(PlayerInfo[targetid][pJob] == 12) { jtext = "X"; }   // *
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "X"; }  // *
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "X"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "X"; }  // *
        else if(PlayerInfo[targetid][pJob] == 17) { jtext = "X"; }    // *
        else if(PlayerInfo[targetid][pJob] == 18) { jtext = "X"; } // *
        else if(PlayerInfo[targetid][pJob] == 24) { jtext = "X"; }   // *
        else { jtext = "None"; }
        new drank[20];
        if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "X"; }
        else if(PlayerInfo[targetid][pDonateRank] >= 2) { drank = "X"; }
        else { drank = "None"; }
        new age = PlayerInfo[targetid][pAge];
        new ptime = PlayerInfo[targetid][pConnectTime];
        new arrests = PlayerInfo[targetid][pArrested];
        new drugs = PlayerInfo[targetid][pDrugs];
        new mats = PlayerInfo[targetid][pMateriales];
        new Ganzuas = PlayerInfo[targetid][pGanzuas];
        new level = PlayerInfo[targetid][pLevel];
        new sexo = PlayerInfo[targetid][pSex];
        new exp = PlayerInfo[targetid][pExp];
        new pnumber = PlayerInfo[targetid][pPnumber];
        new account = PlayerInfo[targetid][pAccount];
        new pmonedas = PlayerInfo[targetid][pMonedas];
        new nxtlevel = PlayerInfo[targetid][pLevel]+1;
        new expamount = nxtlevel*levelexp;
        new housekey = PlayerInfo[targetid][pPhousekey];
        new bizkey = PlayerInfo[targetid][pPbiskey];
        //new Auto1 = Carlist[playerid][Carid];
        //new Auto2 = Carlist2[playerid][Carid];
        new Float:health;
        new name[MAX_PLAYER_NAME];
        GetPlayerName(targetid, name, sizeof(name));
        GetPlayerHealth(targetid,health);
        new Float:px,Float:py,Float:pz;
        GetPlayerPos(targetid, px, py, pz);
        new coordsstring[256];
Reply


Messages In This Thread
[Ayuda] Urgente! їPorque esto!? - by Blaze_Strockovic - 05.09.2012, 14:52
Respuesta: [Ayuda] Urgente! їPorque esto!? - by TiNcH010 - 05.09.2012, 16:29
Respuesta: [Ayuda] Urgente! їPorque esto!? - by Blaze_Strockovic - 06.09.2012, 01:16
Re: [Ayuda] Urgente! їPorque esto!? - by VodKa' - 06.09.2012, 01:59
Respuesta: [Ayuda] Urgente! їPorque esto!? - by El Bardo - 06.09.2012, 02:12
Respuesta: [Ayuda] Urgente! їPorque esto!? - by Blaze_Strockovic - 06.09.2012, 04:13
Respuesta: [Ayuda] Urgente! їPorque esto!? - by Blaze_Strockovic - 06.09.2012, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)