20.07.2015, 17:25
try like this
Код:
new string[1000], dialog[3000]; format(string, sizeof(string),"{408080}PERSONAS DATI/PERSONAL INFO{C9C9C9}\n"); strcat(dialog,string); format(string, sizeof(string),"{408080}Uzvards/Surname:\n%s\n", tempstr); strcat(dialog,string); format(string, sizeof(string),"%sVards/Given name:\n%s\n", name); strcat(dialog,string); format(string, sizeof(string),"%sIzcelsme/Origin:\n%s\n", PlayerData[playerid][pOrigin]); strcat(dialog,string); format(string, sizeof(string),"%sDzimšanas datums/Date of birth:\n%s\n", PlayerData[playerid][pBirthdate]); strcat(dialog,string); format(string, sizeof(string),"%sDzimums/Gender:\n%s\n\n", GetPlayerGender(playerid)); strcat(dialog,string); format(string, sizeof(string),"%s{408080}PASES DATI/PASSPORT INFO{C9C9C9}\n"); strcat(dialog,string); format(string, sizeof(string),"%sPases Nr./Passport No.:\n%s\n", PlayerData[playerid][pPassportNr]); strcat(dialog,string); format(string, sizeof(string),"%sIzdošanas datums/Date of issue:\n%s\n", PlayerData[playerid][pPassportID]); strcat(dialog,string); format(string, sizeof(string),"%s pase \"KOPIA\"", GetPlayerNameEx(playerid)); strcat(dialog,string); format(string, sizeof(string),"{408080}PERSONAS DATI/PERSONAL INFO{C9C9C9}\n"); strcat(dialog,string); ShowPlayerDialog(playerid,passportAccept,DIALOG_STYLE_MSGBOX,FullName,dialog,"Apstipr","Atcelt");