Raised This Month: $ Target: $400
 0% 

how to check if menu is open ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 06-22-2019 , 08:52   Re: how to check if menu is open ?
Reply With Quote #3

1more question , it is possible to use menu_destroy before show_menu (empty) if yes explain please:
Example:
PHP Code:
public cancel_menu (id)
{
                 
menu_destroymenu )
                 
show_menu(//empty menu)
          
return PLUGIN_HANDLED

I ask this because there is a set_task for public cancel_menu and I want after 20 seconds, menu gets destroyed and disappear from screen.
Thanks
LearninG 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 17:26.


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