AddClientMenuItem
- Синтаксис
-
stock AddClientMenuItem(const MENU_TEXT[], const MENU_CMD[], const MENU_ACCESS, const MENU_PLUGIN[]) { AddMenuItem_call(MENU_TEXT, MENU_CMD, MENU_ACCESS, MENU_PLUGIN, true); }
Переменная | Описание |
---|---|
MENU_TEXT |
Item text that will be displayed in the menu |
MENU_CMD |
Command that will be executed on the client |
MENU_ACCESS |
Admin access required for menu command |
MENU_PLUGIN |
Case-insensitive name or filename of plugin providing the menu command |
- Описание
- Adds a menu item/command to the client menu (amx_menu) handled by the "Menus Front-End" plugin, if it is loaded. Items should be accessible by non-admins.
- Возвращает
- Функция ничего не возвращает