03.05.2016, 21:55
Код:
new string2[200]; format(string2, sizeof(string2), "» Name: %s • Level: %d • Faction: %s • Rank: %s\n",name,plevel,ttext,rtext); format(coordsstring, sizeof(coordsstring), "» Sex: %s • Age: %d • SpawnHealth: %.1f • Cash: %s • Bank: %s • NumberPhone: %d\n", atext, age, shealth+50, FormatMoney(cash), FormatMoney(account), pnumber); strcat(string2,coordsstring); format(coordsstring, sizeof(coordsstring), "» DonateRank: %s • PlayingHours: %d • Respect: %d/%d • NumberLotto: %d\n", drank,ptime,exp,expamount,lotto); strcat(string2,coordsstring); format(coordsstring, sizeof(coordsstring), "» TimesArrested: %d • WantedLevel: %d • MarriedTo: %s • Disease: %s\n", arrests,wanted,married,dtext); strcat(string2,coordsstring); format(coordsstring, sizeof(coordsstring), "» Kills: %d • Deaths: %d • NextLevel: %d$ • Job: %s\n",kills,deaths,costlevel,jtext); strcat(string2,coordsstring); format(coordsstring, sizeof(coordsstring), "» FishesCaught: %d • BiggestFish: %d • Drugs: %d • Materials: %d • Pills: %d • Warns: %d\n",fishes,bigfish,drugs,mats,pills,warns); strcat(string2,coordsstring); ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX,"player stats",string2,"close","");
PHP код:
E:\fcr.pwn(10037) : error 017: undefined symbol "name"
E:\fcr.pwn(10038) : error 017: undefined symbol "coordsstring"
E:\fcr.pwn(10038) : error 017: undefined symbol "coordsstring"
E:\fcr.pwn(10038) : error 029: invalid expression, assumed zero
E:\fcr.pwn(10038) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
+1rep if u help me fast