new menus bug?
Is it intentional or it is a bug?
When I do menu_addblank(menu, 0); then Exit option shifts to slot9 https://i.ibb.co/QdVFx8F/image.png Or menu_addblank2(menu);, then Exit shifts to what? https://i.ibb.co/nCTCyNd/image.png |
Re: new menus bug?
don t use a native, just add ^n at the end of the item name
|
Re: new menus bug?
Workarounds...
What if I build menu like this? PHP Code:
|
Re: new menus bug?
expecting eList is an int variable you can check if the current item that will be listed is the last item that should be listed and add ^n at the end of his name. i think this is the best option to add a blank in the menu
PHP Code:
|
Re: new menus bug?
Thank you. Anyways, someone should fix it
|
Re: new menus bug?
menu_addblank(menu, 1) and menu_addblank2(menu) did the same thing ("a" and "b" are at 6 and 7) for me and never shifted the exit button (the exit button stayed at 0).
menu_addblank(menu, 0) puts "a" and "b" at 5 and 6 but does shift the exit button to 9. I could not get it to shift the exit button to 11. |
Re: new menus bug?
Quote:
In the code it looked like below and was shifted to 11 PHP Code:
Quote:
|
| All times are GMT -4. The time now is 15:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.