note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
DestroyMenu
Description
Destroys the specified menu.
Name | Description |
---|---|
Menu:menuid | The menu ID to destroy |
Returns
true if the destroying was successful, otherwise false
Examples
new Menu:exampleMenu;
exampleMenu = CreateMenu("Your Menu", 2, 200.0, 100.0, 150.0, 150.0);
// Later ...
DestroyMenu(exampleMenu);
Related Functions
- CreateMenu: Create a menu.
- SetMenuColumnHeader: Set the header for one of the columns in a menu.
- AddMenuItem: Add an item to a menu.
Related Callbacks
- OnPlayerSelectedMenuRow: Called when a player selected a row in a menu.
- OnPlayerExitedMenu: Called when a player exits a menu.