Dialog - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog (
/showthread.php?tid=161956)
Dialog -
keller012 - 21.07.2010
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?
Re: Dialog - [L3th4l] - 21.07.2010
use a string, [128] or larger. depending of how much you want.
Re: Dialog -
Johndaonee - 21.07.2010
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");
Re: Dialog -
MisterTickle - 21.07.2010
Couldn't str1, str2 and str3 all be 1 like
str[1024] with SAMP 0.3's new limits?
I may be wrong though.
Re: Dialog -
Johndaonee - 21.07.2010
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
Re: Dialog -
keller012 - 21.07.2010
There is the possibility of increasing the font size of the dialog?