menu_item_setcall
- Синтаксис
-
native menu_item_setcall(menu, item, callback=-1);
Переменная | Описание |
---|---|
menu |
Menu resource identifier. |
item |
Item identifier. |
callback |
New callback from menu_makecallback(), or -1 to clear. |
- Описание
- Sets an item's callback.
- Возвращает
- 1 on success, 0 on failure.