Posts: 465
Threads: 34
Joined: Sep 2009
Reputation:
0
How the hell do I make a dialog list with 110 items?
If I do it on one line, it wont fit, so i tried the
blabla\n\
blablabla\n\
etc.
thing, and it gave an error: input line too long (after substitutions).
Without formatting a string, how can I do it..?
Posts: 465
Threads: 34
Joined: Sep 2009
Reputation:
0
I don't want to do it like that. There must be another way.
Posts: 788
Threads: 22
Joined: May 2006
Reputation:
0
You don't have to use 'format()' to produce the 'substitutions' error, it's the string limitation (507 IIRC).
Also what's wrong with formatting the string ?
You could use strins or strmid I suppose but I don't understand why you don't want to use the functions provided for doing this, that's the whole reason we have those functions.
What are you putting in the string, is it raw (you're typing it) or is it from an array or another source ?
Posts: 788
Threads: 22
Joined: May 2006
Reputation:
0
You could always split the dialog up and have a "more" or "next" option in the list or use the 'button' params to do it, if the response is true then goto the next one and so on.
Posts: 465
Threads: 34
Joined: Sep 2009
Reputation:
0
The reason for me using a dialog instead of GTA menus is because I didn't want that.
It works fine now.
Posts: 788
Threads: 22
Joined: May 2006
Reputation:
0
Panels are ugly anyway I prefer dialogs, good to know it's sorted.