register_menu
- Синтаксис
-
stock register_menu(const title[], keys, const function[], outside = 0) { register_menucmd(register_menuid(title, outside), keys, function); }
Переменная | Описание |
---|---|
title |
Menu name |
keys |
Key flags |
function |
Callback function |
outside |
Catch menus outside the calling plugin |
- Описание
- Provides a shorthand to register a working menu.
- Пометка
-
Combines the necessary calls to register_menuid() and register_menucmd() into a single function.
- Возвращает
- Функция ничего не возвращает