Raised This Month: $ Target: $400
 0% 

Menu Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
orel56000
Member
Join Date: Apr 2015
Old 01-29-2017 , 11:20   Menu Problem
Reply With Quote #1

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?
orel56000 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-29-2017 , 11:58   Re: Menu Problem
Reply With Quote #2

Check if the item is MENU_EXIT.
__________________

Last edited by OciXCrom; 01-29-2017 at 11:58.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
orel56000
Member
Join Date: Apr 2015
Old 01-29-2017 , 12:30   Re: Menu Problem
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Check if the item is MENU_EXIT.
Its the same, if you moving to another menu its still MENU_EXIT and I can't check if he pressed exit or moved to another menu.
orel56000 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-29-2017 , 12:57   Re: Menu Problem
Reply With Quote #4

Why do you need to check that? Explain what you're trying to do.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
orel56000
Member
Join Date: Apr 2015
Old 01-29-2017 , 13:25   Re: Menu Problem
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Why do you need to check that? Explain what you're trying to do.
I have Shop Main Menu, inside the Shop Menu I have Knife shop, If I'm on the Knife Shop menu, and I write for ex /manage (totally another menu) its moving me to the manage menu and after half a second its moving me back to the shop main menu. The shop detect that I closed the knife menu and its opening itself again automaticlly.
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.
orel56000 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode