20.07.2015, 17:10
Why are you adding "{408080}PERSONAS DATI/PERSONAL INFO{C9C9C9}\n" to an empty string and then formating that string all over again? First of, format the string so it contains only that text and then just add more text using strcat.
pawn Код:
format(longDialog, sizeof(longiDalog)"{408080}PERSONAS DATI/PERSONAL INFO{C9C9C9}\n");
strcat(longDialog, "{408080}Uzvārds/Surname:\n%s\n", tempstr, sizeof(longDialog));
strcat(longDialog, "%sVārds/Given name:\n%s\n", name, sizeof(longDialog));
...