Dialog
#1

how do I put a long text in dialog?
I've seen servers with huge dialog with a lot of text inside.
as I do?
Reply
#2

use a string, [128] or larger. depending of how much you want.
Reply
#3

pawn Код:
str1[128];
str2[128];
str3[128];
new liststring[1524];

format(str1, sizeof str1, "Text 1\n");
format(str2, sizeof str2, "Text 2\n");
format(str3, sizeof str3, "Text 3\n");
format(liststring, sizeof liststring, "%s%s%s", str1, str2, str3);
ShowPlayerDialog(playerid, 91123, DIALOG_STYLE_MSGBOX, "Testing", liststring, "Okay", "Cancel");
Reply
#4

Couldn't str1, str2 and str3 all be 1 like

str[1024] with SAMP 0.3's new limits?

I may be wrong though.
Reply
#5

Well, it works the way i did it.
And if you called them all the same string name then it would just show the same string 3 times, so call it 1 2 3 or something else And the string size don't take care of that
Reply
#6

There is the possibility of increasing the font size of the dialog?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)