DestroyMenu

Tags: menu

Description

Destroys the specified menu.

Name Description
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);

// ...
DestroyMenu(examplemenu);
  • CreateMenu: Create a menu.
  • SetMenuColumnHeader: Set the header for one of the columns in a menu.
  • AddMenuItem: Add an item to a menu.
  • OnPlayerSelectedMenuRow: Called when a player selected a row in a menu.
  • OnPlayerExitedMenu: Called when a player exits a menu.