05.04.2011, 17:53
Hello,
I made a code to make a long dialog box, but it fails. Can somebody help me with it ?
Thanks,
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","");