menu_makecallback
- Синтаксис
-
native menu_makecallback(const function[]);
Переменная | Описание |
---|---|
function |
Function name. |
- Описание
- Creates a menu item callback handler. The handler function should be prototyped as: public <function>(id, menu, item) id - Client index being displayed to. menu - Menu resource identifier. item - Item being drawn. <return> - ITEM_IGNORE to use the default functionality. ITEM_ENABLED to explicitly enable or ITEM_DISABLED to explicitly disable.
- Возвращает
- Menu callback ID.