Quote:
Originally Posted by Blizzard_87
You could set a function to execute when player selects the exit key.
Code:
if( item == MENU_EXIT )
{
menu_destroy( menu );
// put function to execute here.
return plugin_handled;
}
Quick example. Mobile post might not be indented sorry.
|
It‘s a way to detect it
But there are lots of way to close menu like :
create a new menu to cancel the menu you are using