Long DialogBox
#1

Hello,

I made a code to make a long dialog box, but it fails. Can somebody help me with it ?

Код:
new string[512];
new text[] = "{FFB300}[%s Stats]";
new text2[] = "{FFB300}|>Money-----<| Money: [$%d] Bank: [$%d] Adminlevel: [%d] Ph: []",Cash,Bank,Admin;
new text3[] = "{FFB300}|>Charachter<| Skin: [%d] Sex: [] Age: [] Organisation:[] Rank:[] Job:[%s]",Skin,Job;
new text4[] = "{FFB300}|>Items-----<| Drugs:[%d]  Materials:[] LottoNr:[] Smokes:[] Lighter:[] Goods:[] Drugmats:[] DrugComp:[]",Drugs;
new text5[] = "{FFB300}|>Skills----<| Muscle:[] Stamina:[] /education  /Licenses /joblicenses";
new text6[] = "{FFB300}|>Stats-----<| Level:[%d] Respect:[] PlayingHours:[] DonateRank:[] Warns:[]",Level;
format(string,sizeof(string),"%s %s %s %s %s %s",text,text2,text3,text4,text5,text6);
ShowPlayerDialog(playerid,10000,DIALOG_STYLE_MSGBOX, "Stats",string,"Close","");
Thanks,
Reply


Messages In This Thread
Long DialogBox - by Peep - 05.04.2011, 17:53
Re: Long DialogBox - by Sascha - 05.04.2011, 18:26
Re: Long DialogBox - by -Rebel Son- - 05.04.2011, 18:51
Re: Long DialogBox - by Peep - 05.04.2011, 18:53
Re: Long DialogBox - by -Rebel Son- - 05.04.2011, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)