Menu Problem
Hey, I created a menu, and if I'm pressing 0, the item is equal to -3, and when I'm moving to another menu (by another command) and also -3.
so how do I know if player pressed 0 or moved to another menu? |
Re: Menu Problem
Check if the item is MENU_EXIT.
|
Re: Menu Problem
Quote:
|
Re: Menu Problem
Why do you need to check that? Explain what you're trying to do.
|
Re: Menu Problem
Quote:
I want that: if I'm in the knife shop and I'm pressing exit, it will move me back to the Shop Main Menu, and if I'm writing /manage while the knife shop is opening it will open the manage menu only. sorry for my bad english. |
| All times are GMT -4. The time now is 21:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.