Menu Problem
For some reason all numbers returns fine for LineData, but on the second page, which would be labeled "Number 10" and every line above that are blank. The var LineText is also blank for 10+. Wth?
So my menus looks like Quote:
Quote:
Quote:
Code:
|
Re: Menu Problem
I tried moving the variables outside the loop, didn't help at all.
Then I tried switching from formatex to format, didn't help. For some reason... sizeof(x) in a loop as in the code above creates an issue. Perhaps a bug? This works for both line_text and line_data. Code:
This only works for line_data, while line_text is blank. Code:
|
Re: Menu Problem
btw, it should be sizeof() - 1
|
Re: Menu Problem
Quote:
Anyone know how to make a menu without an items in it with the newer menu system? It wont show up unless I have an item added to it, but I only want text, a back button for main menu, and exit button. |
Re: Menu Problem
Look in newmenus.inc, your answer is there.
|
Re: Menu Problem
Quote:
Also wont let me show the menu without having options. What is the point of this new menu if I can't have a fully dynamic approach to everything? Perhaps it just was overlooked when they created it. |
Re: Menu Problem
Just a little thing :
formatex(line_data,sizeof(line_data),"%i",i); -> num_to_str(i, line_data, charsmax(line_data)) |
Re: Menu Problem
Quote:
|
Re: Menu Problem
Quote:
|
Re: Menu Problem
Proof > Opinion
Don't care who it is. |
| All times are GMT -4. The time now is 07:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.