15.12.2015, 02:43
PHP код:
new coordsstring[1024];
format(coordsstring, sizeof(coordsstring), "%s (%d)\n", GetName(targetid), targetid);
format(coordsstring, sizeof(coordsstring), "%sLevel:[%d] Sex:[%s] Age:[%d] Cash:[$%s] Bank:[$%s] PhoneNr.:[%s]\n", coordstring, level, sex, age, FormatNumber(cash), FormatNumber(account), PhoneFormat(phonenumber));
format(coordsstring, sizeof(coordsstring), "%sPremium Account:[%s] Next level:[$%s] Respect:[%d/%d] Hours played:[%d] Rob Points:[%d]\n", coordstring, premiumaccount, FormatNumber(costlevel), respect, respectneed, hours, rob);
format(coordsstring, sizeof(coordsstring), "%sCrimes:[%d] Arrests:[%d] Wanted Deaths:[%d] Jailed:[%s] AJail:[%s] Muted:[%s]\n", coordstring, crimes, arrests, wdeaths, jail, ajail, mute);
format(coordsstring, sizeof(coordsstring), "%sWanted level:[%d] Kills:[%d] Deaths:[%d] Drugs:[%d] Materials:[%d] Coins:[%d] %s\n",coordstring, wanted, kills, deaths, drugs, mats, coins, freepoints);
format(coordsstring, sizeof(coordsstring), "%sJob:[%s] Faction:[%s] Rank:[%s] FWarns:[%d/3] FPunish:[%d/20] Warns:[%d/3]\n", coordstring, jtext, FactionName[faction], rtext, fwarns, punish, warns);
ShowPlayerDialog(playerid,999,DIALOG_STYLE_MSGBOX,"Statistics:",coordsstring,"OK","");