mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 23:35:36 +03:00
3a8e103faf
menufront.sma executes this file on plugin loa, adding the specified menu items to amxmodmenu.
14 lines
796 B
INI
Executable File
14 lines
796 B
INI
Executable File
// Here you can add menu items from any plugin to Menus Front-End plugin, aka "amxmodmenu".
|
|
//
|
|
// Usage: "amx_addmenuitem <menu text> <menu command> <access flags> <plugin name>"
|
|
//
|
|
// <menu text>: This is the text displayed in the menu itself for this item.
|
|
// <menu command>: This is the client command used to access the menu.
|
|
// <access flags>: Specify what access flags admins must have to use this menu item. (Check users.ini for access flags.)
|
|
// <plugin name>: This must be the _exact_ (though case insensitive) name of the plugin which holds the menu command. (Use "amxx plugins" in server console, plugin names are listed in Name column.)
|
|
//
|
|
// Example: (be sure to use quotes around parameters with spaces!)
|
|
//
|
|
// amx_addmenuitem "Weapon Arena" "weaponarena_menu" "hu" "Weapon Arena"
|
|
|