08.01.2015, 20:46
pawn Код:
format(coordsstring, sizeof(coordsstring), "| Level: %d | Sex: %s | Varsta: %d | Casatorit cu: %s | Slujba: %s |\n", level, atext, age, married, jtext);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "| Donator de %s | Bani: $%s | Banca: $%s | Imprumut: $%s/$%s | Tel: %d |\n", drank, FormatNumber(cash, 0, '.'), FormatNumber(account, 0, '.'),imppaydaym,imprumutm,PlayerData[targetid][pPnumber]);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "| PretLevel: $%s | Ore jucate: %d | Respect: %d/%d | Wanted level: %d | Jailed: %s, %d sec | PuncteRob: %d/10 |\n", FormatNumber(costlevel, 0, '.'), ptime, exp, expamount, wanted,jailtext,PlayerData[targetid][pJailTime], PlayerData[targetid][pRob]);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "| Factiune: %s | Rank: %s (%d) | Warns: %d/3 | FWarns: %d/3 | FPunish: %d/30 | Droguri: %d | Materiale: %d |\n", ttext, rtext, PlayerData[targetid][pRank], PlayerData[targetid][pWarns], PlayerData[targetid][pFACWarns], fp, drugs, mats);
strcat(finalstring, coordsstring, sizeof(coordsstring));
ShowPlayerDialog(playerid, 14345, DIALOG_STYLE_MSGBOX, "Stats", finalstring, "Close", ""); //this line is finalstring no coordsstring