Raised This Month: $ Target: $400
 0% 

How to judge that the menu is closed?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-11-2014 , 21:20   Re: How to judge that the menu is closed?
Reply With Quote #1

https://github.com/alliedmodders/amx....inc#L211-L229
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 07-12-2014 , 04:19   Re: How to judge that the menu is closed?
Reply With Quote #2

Use boolean variables .. Put on a specific boolean variable for each menu you have .. and suppose the menu is opened and then some other menu is opened .. the variable associated with previous menu is never turned false while the variable declared for other menu is set to true .. now you know what actually happened.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux 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:09.


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