Old menu problem
Hey, why the hell when I open menu number 1 (Keysrod1 ...), and I press any key, it opens the Pressedrod of menu number 0...
Here is my code: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Old menu problem
I don't understand what you are asking, you may have a look at plugins such as playermenu of telemenu, such menus are used.
It seems that you don't take key in account in callback, you have only default switch case. |
Re: Old menu problem
You registered menu in a wrong way. Try this:
PHP Code:
|
Re: Old menu problem
I hadn't see this, also you don't need to put \w in the register line, just a part of the begining of menu string.
For such a menu, why don't you use new menu system ? |
Re: Old menu problem
Because I don't know how to make a list with new menu :/
Also, when I make a new style menu only with title, the menu doesn't even show up :/ |
Re: Old menu problem
Quote:
|
Re: Old menu problem
yeah, I prefer to use new, but new menu doesn't work without any items in menu and menu_addtext doesn't help :s
|
Re: Old menu problem
Why do you want an item if no admin is online ?
Also, if no admin are online, why don't add an item with some admin access so player will only see the text and won't be able to select that item ? |
Re: Old menu problem
why are you telling what to do with the plugin he wants to make, he just wants help with the menu
|
Re: Old menu problem
Quote:
|
| All times are GMT -4. The time now is 01:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.