Problem with Error 047
#1

Hi guys, i've got a problem here, dont know where it comes from:

Code:
pawn Код:
new age = PlayerInfo[targetid][pAge];
        new ptime = PlayerInfo[targetid][pConnectTime];
        new bigfish = PlayerInfo[targetid][pBiggestFish];
        new arrests = PlayerInfo[targetid][pArrested];
        new drugs = PlayerInfo[targetid][pDrugs];
        new mats = PlayerInfo[targetid][pMats];
        new level = PlayerInfo[targetid][pLevel];
        new exp = PlayerInfo[targetid][pExp];
        new pnumber = PlayerInfo[targetid][pPnumber];
        new account = PlayerInfo[targetid][pAccount];
        new nxtlevel = PlayerInfo[targetid][pLevel]+1;
        new expamount = nxtlevel*levelexp;
        new housekey = PlayerInfo[targetid][pPhousekey];
        new bizkey = PlayerInfo[targetid][pPbiskey];
        new intir = PlayerInfo[targetid][pInt];
        new virworld = PlayerInfo[targetid][pVirWorld];
        new local = PlayerInfo[targetid][pLocal];
        new Float:health;
        new name[MAX_PLAYER_NAME]; // HERE IS THE ERROR
        GetPlayerName(targetid, name, sizeof(name));
        GetPlayerHealth(targetid,health);
        new Float:px,Float:py,Float:pz;
        GetPlayerPos(targetid, px, py, pz);
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring),"_____________________________________| %s |_____________________________________",name);
        SendClientMessage(playerid, COLOR_GREEN,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Niveau:[%d] | Sexe:[%s] | Age:[%d] | Argent:[%d$] | Banque :[%d$] | Numero:[%d] | Rang:[%s] |", level,atext,age,cash,account,pnumber,drank);
        SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Heures jouйes:[%d] | Poissons:[%d] | Arrestations:[%d] | Job:[%s] | Respect:[%d/%d] |", ptime,bigfish,arrests,jtext,exp,expamount);
        SendClientMessage(playerid, COLOR_GRAD2,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Drogue:[%d] | Matos:[%d] | Team:[%s] | Faction:[%s] | Rang:[%s] |",drugs,mats,ttext,ftext,rtext);
        SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Radio:[%s] | Frequence:[%d] |",Radios, PlayerInfo[playerid][Frequence]);
        SendClientMessage(playerid, COLOR_GRAD4,coordsstring);
        if (PlayerInfo[playerid][pAdmin] >= 1)
        {
            format(coordsstring, sizeof(coordsstring), "| Maison: [%d] | Entreprise: [%d] | Clef: [%d] | Intйrieur:[%d] | Monde Virtuel:[%d] | Local[%d] |", housekey,bizkey,HireCar[targetid],intir,virworld,local);
            SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
        }
        SendClientMessage(playerid, COLOR_GREEN,"______________________________________________________________________");

Error:

Quote:

C:\Users\Zaknafein\Desktop\LAAAAA\gamemodes\miamir p.pwn(8955) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply
#2

Which one is line 8955?
And please use [ pawn ][ /pawn ] BBcodes instead of [ code ][ /code ]
Reply
#3

why u define something taht is already defined?
Reply
#4

Edited.
Selten what do you mean exactly?
Reply
#5

8955 <- What line is? Show this code.

// Try

new name[32]; or [64];
Reply
#6

pawn Код:
new age = PlayerInfo[targetid][pAge];
        new ptime = PlayerInfo[targetid][pConnectTime];
        new bigfish = PlayerInfo[targetid][pBiggestFish];
        new arrests = PlayerInfo[targetid][pArrested];
        new drugs = PlayerInfo[targetid][pDrugs];
        new mats = PlayerInfo[targetid][pMats];
        new level = PlayerInfo[targetid][pLevel];
        new exp = PlayerInfo[targetid][pExp];
        new pnumber = PlayerInfo[targetid][pPnumber];
        new account = PlayerInfo[targetid][pAccount];
        new nxtlevel = PlayerInfo[targetid][pLevel]+1;
        new expamount = nxtlevel*levelexp;
        new housekey = PlayerInfo[targetid][pPhousekey];
        new bizkey = PlayerInfo[targetid][pPbiskey];
        new intir = PlayerInfo[targetid][pInt];
        new virworld = PlayerInfo[targetid][pVirWorld];
        new local = PlayerInfo[targetid][pLocal];
the local is already defined as: PlayerInfo[targetid][pLocal];
so why dont u add taht to the format i guess the error is somewhere there
Reply
#7

Selten, i dont see how the error could be there!
new name[32]; or [64] didnt work
Here is the complete code:
pawn Код:
public ShowStats(playerid,targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
    {
        new cash = GetPlayerMoney(targetid);
        new atext[20];
        if(PlayerInfo[targetid][pSex] == 1) { atext = "M"; }
        else if(PlayerInfo[targetid][pSex] == 2) { atext = "F"; }
        new otext[20];
        if(PlayerInfo[targetid][pOrigin] == 1) { otext = "USA"; }
        else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Europe"; }
        else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Asie"; }
        else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Afrique"; }
        new ttext[20];
        if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Mйdecin"; }
        else if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Civil"; }
        else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) { ttext = "LSPD"; }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2) { ttext = "MSP"; }
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3) { ttext = "Armйe"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4) { ttext = "Aucun"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5) { ttext = "Vagos"; }
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6) { ttext = "Cosia"; }
        else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7) { ttext = "Gouvernement"; }
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8) { ttext = "Organizatsiya"; }
        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9) { ttext = "Russe"; }
        else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10) { ttext = "Aucun"; }
        else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11) { ttext = "Instructeur"; }
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12) { ttext = "Famille Leone"; }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14) { ttext = "Yakuza"; }
        else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15) { ttext = "Crip'z"; }
        else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16) { ttext = "Ballas"; }
        new dtext[20];
        if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
        else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
        else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
        else { dtext = "None"; }
        new ftext[30];
        if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1) // nom des factions
        { ftext = "LSPD"; }
        else if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
        { ftext = "Aucun"; }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
        { ftext = "Vagos"; }
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
        { ftext = "Cosia"; }
        else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
        { ftext = "Instructeur"; }
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)
        { ftext = "Leone"; }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)
        { ftext = "Yakuza"; }
        else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)
        { ftext = "Crip'z"; }
        else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)
        { ftext = "B.Ballas"; }
        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)//The 2 Organisations
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Nouveau"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associй"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldat"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Homme de main"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sous boss"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Parrain"; }
            else { rtext = "Outsider"; }
        }
        else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Cadet"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Officier"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Sergent"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Lieutenant"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Capitaine"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Sheriff Adjoint"; }
            else if(PlayerInfo[targetid][pRank] == 7) { rtext = "Sheriff"; }
            else { rtext = "Cadet"; }
        }
        else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Agent Stagiaire"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Agent"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Agent Spйcial"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Lieutenant fйdйral"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Co-Directeur fйdйral"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Directeur fйdйral"; }
            else { rtext = "Intern"; }
        }
        else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Soldat Stagiaire"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Soldat"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Caporal"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Major"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant-Colonel"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Colonel"; }
            else { rtext = "Soldat Stagiaire"; }
        }
        else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)//Vagos Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Nuevo"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "matуn"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Mъsculo"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Brazo derecho"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Jefe Adjunto"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Jefe"; }
            else { rtext = "Nuevo"; }
        }
        else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)//Familglia Italia
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Picciotto"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Soldato"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Capos"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Consigliere"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Braccio Droteto"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Padrino"; }
            else { rtext = "Picciotto"; }
        }
        else if(PlayerInfo[targetid][pMember] == 7)//Mayor ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Chauffeur"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Garde du corps"; }
            else { rtext = "None"; }
        }
        else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Organizatsiya
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Brute"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Tueur"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Assassin"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Rouge"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Dirigeant"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Parrain"; }
            else { rtext = "Exilй"; }
        }
        else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//Yamaguchi ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Homme de main"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Bras Gauche"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Bras Droit"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Porte Parole"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Sous Chef"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Chef"; }
            else { rtext = "Homme de main"; }
        }
        else if(IsAnInstructor(targetid))//Driving/Flying School Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Nouveau"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Instructeur"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Instructeur confirmй"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Manager"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Co-directeur"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Directeur"; }
            else { rtext = "Nouveau"; }
        }
        else if(PlayerInfo[targetid][pMember] == 12 || PlayerInfo[targetid][pLeader] == 12)//Familglia Italia
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Nouvelo"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Soldato"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Caposino"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Mafioso"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Brasino Droto"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Padrino"; }
            else { rtext = "Nouvelo"; }
        }
        else if(PlayerInfo[targetid][pMember] == 14 || PlayerInfo[targetid][pLeader] == 14)//Yamaguchi ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Kumi-in"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Shateп"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Kyodaп"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Shateigashira"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Wakagashira"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Oyabun"; }
            else { rtext = "Kumi-in"; }
        }

        else if(PlayerInfo[targetid][pMember] == 15 || PlayerInfo[targetid][pLeader] == 15)//47th Street Saints Families gang Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Delinquant"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Voyou"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Gros bras"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Gangsta"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Gansta Dealer"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Crip'z Leader"; }
            else { rtext = "Delinquant"; }
        }
        else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//East Beach Bloods Ranks
        {
            if(PlayerInfo[targetid][pRank] == 1) { rtext = "Dumb Hoe"; }
            else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Outsider"; }
            else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soulja"; }
            else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Blood Pusher"; }
            else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Blood Runner"; }
            else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Thug"; }
            else if(PlayerInfo[targetid][pRank] == 7) { rtext = "O.G"; }
            else if(PlayerInfo[targetid][pRank] == 8) { rtext = "Double O.G"; }
            else if(PlayerInfo[targetid][pRank] == 9) { rtext = "Dieu"; }
            else { rtext = "Dumb Hoe"; }
        }
        else
        {
            rtext = "None";
        }
        new jtext[20];
        if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detective"; }
        else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Avocat"; }
        else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Prostituй"; }
        else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Dealer de drogue"; }
        else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Voleur de voiture"; }
        else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Journaliste"; }
        else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Mйcanicien"; }
        else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Guarde du corps"; }
        else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Dealer d'armes"; }
        else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Revendeur de voitures"; }
        else if(PlayerInfo[targetid][pJob] == 11) { jtext = "Ambulancier"; }
        else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boxeur"; }
        else if(PlayerInfo[targetid][pJob] == 13) { jtext = "Chauffeur de taxi"; }
        else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Chauffeur de bus"; }
        else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Livreur de journaux"; }
        else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Camionneur"; }
        else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Livreur de pizzas"; }
        else if(PlayerInfo[targetid][pJob] == 18) { jtext = "Fermier"; }
        else if(PlayerInfo[targetid][pJob] == 19) { jtext = "Fermier illйgal"; }
        else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Maitre d'armes"; }
        else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Maitre des drogues"; }
        else if(PlayerInfo[targetid][pJob] == 22) { jtext = "Dealer de Matos"; }
        else if(PlayerInfo[targetid][pJob] == 23) { jtext = "Fabricant d'armes"; }
        else { jtext = "Aucun"; }
        new Radios[20];
        if(PlayerInfo[playerid][Radio] != 0) { Radios = "Oui"; }
        else { Radios = "Non"; }
        new drank[20];
        if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donateur Bronze"; }
        else if(PlayerInfo[targetid][pDonateRank] >= 2) { drank = "Donateur Or"; }
        else { drank = "None"; }
        new age = PlayerInfo[targetid][pAge];
        new ptime = PlayerInfo[targetid][pConnectTime];
        new bigfish = PlayerInfo[targetid][pBiggestFish];
        new arrests = PlayerInfo[targetid][pArrested];
        new drugs = PlayerInfo[targetid][pDrugs];
        new mats = PlayerInfo[targetid][pMats];
        new level = PlayerInfo[targetid][pLevel];
        new exp = PlayerInfo[targetid][pExp];
        new pnumber = PlayerInfo[targetid][pPnumber];
        new account = PlayerInfo[targetid][pAccount];
        new nxtlevel = PlayerInfo[targetid][pLevel]+1;
        new expamount = nxtlevel*levelexp;
        new housekey = PlayerInfo[targetid][pPhousekey];
        new bizkey = PlayerInfo[targetid][pPbiskey];
        new intir = PlayerInfo[targetid][pInt];
        new virworld = PlayerInfo[targetid][pVirWorld];
        new local = PlayerInfo[targetid][pLocal];
        new Float:health;
        new name[MAX_PLAYER_NAME]; // HERE IS THE ERROR
        GetPlayerName(targetid, name, sizeof(name));
        GetPlayerHealth(targetid,health);
        new Float:px,Float:py,Float:pz;
        GetPlayerPos(targetid, px, py, pz);
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring),"_____________________________________| %s |_____________________________________",name);
        SendClientMessage(playerid, COLOR_GREEN,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Niveau:[%d] | Sexe:[%s] | Age:[%d] | Argent:[%d$] | Banque :[%d$] | Numero:[%d] | Rang:[%s] |", level,atext,age,cash,account,pnumber,drank);
        SendClientMessage(playerid, COLOR_GRAD1,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Heures jouйes:[%d] | Poissons:[%d] | Arrestations:[%d] | Job:[%s] | Respect:[%d/%d] |", ptime,bigfish,arrests,jtext,exp,expamount);
        SendClientMessage(playerid, COLOR_GRAD2,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Drogue:[%d] | Matos:[%d] | Team:[%s] | Faction:[%s] | Rang:[%s] |",drugs,mats,ttext,ftext,rtext);
        SendClientMessage(playerid, COLOR_GRAD3,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Radio:[%s] | Frequence:[%d] |",Radios, PlayerInfo[playerid][Frequence]);
        SendClientMessage(playerid, COLOR_GRAD4,coordsstring);
        if (PlayerInfo[playerid][pAdmin] >= 1)
        {
            format(coordsstring, sizeof(coordsstring), "| Maison: [%d] | Entreprise: [%d] | Clef: [%d] | Intйrieur:[%d] | Monde Virtuel:[%d] | Local[%d] |", housekey,bizkey,HireCar[targetid],intir,virworld,local);
            SendClientMessage(playerid, COLOR_GRAD6,coordsstring);
        }
        SendClientMessage(playerid, COLOR_GREEN,"______________________________________________________________________");
    }
}
Reply
#8

Anyone can help me please?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)