Max characters on a dialog?
#1

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?
Reply
#2

yo can make:
pawn Код:
Function(something,blabla,etc,"looong string\
also long string\
long string too"
);
or format a big string with strinst.
Reply
#3

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)