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.