[HELP] /stats with DIALOG
#1

I try to make the comand "/stats" into a dialog.....but is shown the last line of script....why?

pawn Код:
//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), "\n| Level: %d | Sex: %s | Varsta: %d | Casatorit cu: %s | Slujba: %s |", level, atext, age, married, jtext);
        strcat(finalstring, coordsstring, sizeof(coordsstring));
        format(coordsstring, sizeof(coordsstring), "\n| Donator de %s | Bani: $%s | Banca: $%s | Imprumut: $%s/$%s | Tel: %d |", drank, FormatNumber(cash, 0, '.'), FormatNumber(account, 0, '.'),imppaydaym,imprumutm,PlayerData[targetid][pPnumber]);
        strcat(finalstring, coordsstring, sizeof(coordsstring));
        format(coordsstring, sizeof(coordsstring), "\n| PretLevel: $%s | Ore jucate: %d | Respect: %d/%d | Wanted level: %d | Jailed: %s, %d sec | PuncteRob: %d/10 |", FormatNumber(costlevel, 0, '.'), ptime, exp, expamount, wanted,jailtext,PlayerData[targetid][pJailTime], PlayerData[targetid][pRob]);
        strcat(finalstring, coordsstring, sizeof(coordsstring));
        format(coordsstring, sizeof(coordsstring), "\n| Factiune: %s | Rank: %s (%d) | Warns: %d/3 | FWarns: %d/3 | FPunish: %d/30 | Droguri: %d | Materiale: %d |", ttext, rtext, PlayerData[targetid][pRank], PlayerData[targetid][pWarns], PlayerData[targetid][pFACWarns], fp, drugs, mats);
        strcat(finalstring, coordsstring, sizeof(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);
        ShowPlayerDialog(playerid, 14345, DIALOG_STYLE_MSGBOX, "Stats", coordsstring, "Close", "");
An ScreenShot: Click For SS
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)