(help) What's wrong with my menu
This is my code:
Code:
I'm a script beginner.Sorry for my bad english. |
Re: (help) What's wrong with my menu
you forgot MENU_KEY_3 on both keys list.
Also, you have to return PLUGIN_HANDLED in menu handler. In menu handler, use a switch statement Code:
switch( key )Also, i think you are a bit confused : MENU_KEY_1 represent slot1 but in handler, key : 0 represent slot 1 MENU_KEY_0 represent slot 0 (exit) key : 9 is slot 0 (exit) |
Re: (help) What's wrong with my menu
Thank you very much!
|
| All times are GMT -4. The time now is 11:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.