15.12.2015, 02:38
hi guys i did this if is something wrong can some1 help me ?
but it shows me only the last line
Код HTML:
new coordsstring[1024]; format(coordsstring, sizeof(coordsstring), "%s (%d)\n", GetName(targetid), targetid); format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Cash:[$%s] Bank:[$%s] PhoneNr.:[%s]\n", level, sex, age, FormatNumber(cash), FormatNumber(account), PhoneFormat(phonenumber)); format(coordsstring, sizeof(coordsstring), "Premium Account:[%s] Next level:[$%s] Respect:[%d/%d] Hours played:[%d] Rob Points:[%d]\n", premiumaccount, FormatNumber(costlevel), respect, respectneed, hours, rob); format(coordsstring, sizeof(coordsstring), "Crimes:[%d] Arrests:[%d] Wanted Deaths:[%d] Jailed:[%s] AJail:[%s] Muted:[%s]\n", crimes, arrests, wdeaths, jail, ajail, mute); format(coordsstring, sizeof(coordsstring), "Wanted level:[%d] Kills:[%d] Deaths:[%d] Drugs:[%d] Materials:[%d] Coins:[%d] %s\n",wanted, kills, deaths, drugs, mats, coins, freepoints); format(coordsstring, sizeof(coordsstring), "Job:[%s] Faction:[%s] Rank:[%s] FWarns:[%d/3] FPunish:[%d/20] Warns:[%d/3]\n", jtext, FactionName[faction], rtext, fwarns, punish, warns); ShowPlayerDialog(playerid,999,DIALOG_STYLE_MSGBOX,"Statistics:",coordsstring,"OK","");
Код HTML:
format(coordsstring, sizeof(coordsstring), "Job:[%s] Faction:[%s] Rank:[%s] FWarns:[%d/3] FPunish:[%d/20] Warns:[%d/3]\n", jtext, FactionName[faction], rtext, fwarns, punish, warns);