Raised This Month: $ Target: $400
 0% 

Solved Combine the menus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-22-2021 , 17:13   Re: Combine the menus
Reply With Quote #4

You have to set and keep track of the the menu type for all players (e.g. in a global variable) which you are not even attempting to do. So, currently the handler doesn't know how to handle a menu item selection. Also, you shouldn't be checking flags in the handler, check them before you show the menu and don't show the menu at all if they don't have access.

Finally, you're printing a message saying "you don't have access" even though you just performed the action.
__________________
fysiks is offline
 



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 02:37.


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