DestroyMenu
From SA-MP Wiki
Description:
Destroys the specified menu.
(menuid)
menuid | The menu ID to destroy |
Return Values:
True if the destroying was successful, otherwise false
Example Usage:
new Menu:examplemenu; examplemenu = CreateMenu("Your Menu", 2, 200.0, 100.0, 150.0, 150.0); // ... DestroyMenu(examplemenu);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- 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
The following callbacks might be useful, as they're related to this function in one way or another.
- OnPlayerSelectedMenuRow: Called when a player selected a row in a menu.
- OnPlayerExitedMenu: Called when a player exits a menu.