menu_destroy
- Синтаксис
-
native menu_destroy(menu);
Переменная | Описание |
---|---|
menu |
Menu resource identifier. |
- Описание
- Destroys a menu. Player menus will be cancelled (although may still linger on the HUD), and future attempts to access the menu resource will result in an error. This must be called if you create menus dynamically, otherwise you will leak memory. For normal dynamic menus, you will destroy the menu in the handler function (remembering to handle the case of a menu being cancelled, it must still be destroyed).
- Возвращает
- Функция ничего не возвращает