[HELP] /stats with DIALOG
#10

SOLVED !

pawn Код:
new finalstring[1024];
        //format(coordsstring, sizeof(coordsstring),"{B20000}________________________________________{FFFFFF}[%s (%d)]{B20000}________________________________________",name,targetid);
        //strcat(finalstring, coordsstring, sizeof(coordsstring));
        //format(coordsstring, sizeof(coordsstring),"*** %s [ID:%d] ***",name,targetid);
        //strcat(finalstring, coordsstring, sizeof(coordsstring));
        format(coordsstring, sizeof(coordsstring), "| Level: %d | Sex: %s | Varsta: %d | Casatorit cu: %s | Slujba: %s |\n", level, atext, age, married, jtext);
        strcat(finalstring,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Donator de %s | Bani: $%s | Banca: $%s | Imprumut: $%s/$%s | Tel: %d |\n", drank, FormatNumber(cash, 0, '.'), FormatNumber(account, 0, '.'),imppaydaym,imprumutm,PlayerData[targetid][pPnumber]);
        strcat(finalstring,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| PretLevel: $%s | Ore jucate: %d | Respect: %d/%d | Wanted level: %d | Jailed: %s, %d sec | PuncteRob: %d/10 |\n", FormatNumber(costlevel, 0, '.'), ptime, exp, expamount, wanted,jailtext,PlayerData[targetid][pJailTime], PlayerData[targetid][pRob]);
        strcat(finalstring,coordsstring);
        format(coordsstring, sizeof(coordsstring), "| Factiune: %s | Rank: %s (%d) | Warns: %d/3 | FWarns: %d/3 | FPunish: %d/30 | Droguri: %d | Materiale: %d |\n", ttext, rtext, PlayerData[targetid][pRank], PlayerData[targetid][pWarns], PlayerData[targetid][pFACWarns], fp, drugs, mats);
        strcat(finalstring,coordsstring);
        //format(coordsstring, sizeof(coordsstring), "| Droguri:[%d] Materiale:[%d] Rob[%d/10] Factiune:[%s] Rank:[%s (%d)] WantedLevel:[%d] ",drugs,mats,PlayerData[targetid][pRob],rtext,PlayerData[targetid][pRank]);
        //SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
        if (PlayerData[playerid][pAdmin] >= 1)
        {
            format(coordsstring, sizeof(coordsstring), "| House key: %d | BizKey: %d | Hire key: %d | Masina: %d | Moto: %d | Barca: %d | IP: %s |\n", housekey,bizkey,HireCar[targetid],cheie,cheie2,cheie3, playersip);
            strcat(finalstring,coordsstring);
            format(coordsstring, sizeof(coordsstring), "| Skin: %d | Interior: %d | Virtual world: %d | Local: %d | Health: %.1f | Armour: %.1f | Email: %s |", skin, interior, vw, local, health, armour, email);
            strcat(finalstring,coordsstring);
        }
        ShowPlayerDialog(playerid, 14345, DIALOG_STYLE_MSGBOX, "Stats", finalstring, "Close", "");
Reply


Messages In This Thread
[HELP] /stats with DIALOG - by monster010 - 08.01.2015, 20:04
Respuesta: [HELP] /stats with DIALOG - by Cerealguy - 08.01.2015, 20:12
Re: [HELP] /stats with DIALOG - by monster010 - 08.01.2015, 20:16
Re: [HELP] /stats with DIALOG - by ahmedkoki - 08.01.2015, 20:25
Re: [HELP] /stats with DIALOG - by monster010 - 08.01.2015, 20:34
Re: [HELP] /stats with DIALOG - by DavidSparks - 08.01.2015, 20:37
Re: [HELP] /stats with DIALOG - by monster010 - 08.01.2015, 20:39
Respuesta: [HELP] /stats with DIALOG - by Cerealguy - 08.01.2015, 20:46
Re: [HELP] /stats with DIALOG - by ahmedkoki - 08.01.2015, 20:49
Re: [HELP] /stats with DIALOG - by monster010 - 08.01.2015, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)