Raised This Month: $ Target: $400
 0% 

how to check if menu is open ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 06-22-2019 , 04:38   how to check if menu is open ?
Reply With Quote #1

Hi,
I want to know what is best method to check if menu is still open for player example :
PHP Code:
public cancel_menu (id)
{
              if  ( 
// check here if the menu is not closed )                                          
              
{
                         
menu_destroy//what should I do here? )
                         
show_menu(//empty menu)
                   
return PLUGIN_HANDLED

I searched but didn't find anything good.
I know it's easy but I'm new to pawn.
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