aww
OLD
|
Re: Menu Problem
Cool, next time you gonna explain what is the bug. And the time after you going to post missing code.
And one day, someone gonna help you. |
Re: Menu Problem
dasdasd
|
Re: Menu Problem
Again, we need the global variable.
Without seeing it, can just say that arguments are not passed in the correct order and that should rather be : PHP Code:
But i can not check if 'gszBlockMenu' is correctly set. |
Re: Menu Problem
asdasd
|
Re: Menu Problem
Now that you have provided all information, i can say that correct args order is :
formatex(szMenu, charsmax(szMenu), gszBlockMenu, gszBlockNames[gSelectedBlockType[id]], szSize, col, col, col, col, col, szNoclip, col, szGodmode); Anyway, you have to put args in the same order they appear in the string, formater is not magic and can't know by itself where this or that should go. You could have figured this out by yourself. Also, should_menu keys should be changed according to access : show_menu(id, gKeysBlockMenu, szMenu, -1, "bmBlockMenu"); -> show_menu(id, gAccess[id] ? gKeysBlockMenu : gAccess[id] & ~( MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|M ENU_KEY_7|MENU_KEY_8 ), szMenu, -1, "bmBlockMenu"); |
| All times are GMT -4. The time now is 15:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.