Max characters on a 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: Max characters on a dialog? (
/showthread.php?tid=244005)
Max characters on a dialog? -
TheYoungCapone - 25.03.2011
Well, I am having problem adding more characters to a dialog im making "DIALOG_STYLE_MSGBOX" I can only put so much characters until i get errors is there any way of expanding the amount?
Re: Max characters on a dialog? -
Gamer_Z - 25.03.2011
yo can make:
pawn Код:
Function(something,blabla,etc,"looong string\
also long string\
long string too");
or format a big string with strinst.
Re: Max characters on a dialog? -
TomTroX - 25.03.2011
You can use strcat.
pawn Код:
new StrBigDialog[500];
strcat(StrBigDIALOG, "line1\n");
strcat(StrBigDIALOG, "line2\n");
strcat(StrBigDIALOG, "line3\n");
strcat(StrBigDIALOG, "line4\n");
strcat(StrBigDIALOG, "line5\n");
strcat(StrBigDIALOG, "line6\n");
//print(StrBigDIALOG);