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