Error Input Line Too Long
#3

The way I avoid these kinds of errors when having a long dialog text is to split the text into several pieces. Like:
pawn Код:
new string[400]; //make sure it's huge enough
format(string, sizeof string, "first part of the text");
strcat(string, "second part of your text. You can also keep doing this to add more parts");
ShowPlayerDialog(...... string .....); //then at ShowPlayerDialog's "info" parameter, use "string".
Reply


Messages In This Thread
Error Input Line Too Long - by X3nZ - 13.09.2011, 20:19
Re: Error Input Line Too Long - by =WoR=Varth - 13.09.2011, 20:23
Re: Error Input Line Too Long - by Mikkel_Pedersen - 13.09.2011, 20:23
Re: Error Input Line Too Long - by X3nZ - 13.09.2011, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)