[ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] - 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)
+--- Thread: [ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] (
/showthread.php?tid=305854)
[ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] -
Spooky - 24.12.2011
It Gives me an ERROR Input Line is too long
It give on ShowPlayerDialog
DIALOG_STYLE_MSGBOX
If i put all the data in it then it gives me error is there any other way to create dialogs.
Re: [ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] - suhrab_mujeeb - 24.12.2011
Show us the line.
Re: [ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] - XFlawless - 24.12.2011
Use
strcat().
Re: [ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] -
Spooky - 24.12.2011
What is strcat destination?
Re: [ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] -
Mini` - 24.12.2011
I believe the destination is like an array or a variable :/ I'm not sure though...
Re: [ERROR] Input Line is too long [NEED HELP UGENT PLEAZE HELP] -
Joe Staff - 24.12.2011
Example of strcat
pawn Код:
new longstring[4096];
longstring="Bacon Strips";
strcat(longstring," & Bacon Strips");
strcat(longstring," & Bacon Strips");
strcat(longstring," & Bacon Strips");
strcat(longstring," & Bacon Strips");
strcat(longstring," & Bacon Strips");
print(longstring);
returns this:
Код:
Bacon Strips & Bacon Strips & Bacon Strips & Bacon Strips & Bacon Strips & Bacon Strips