mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 23:05:37 +03:00
20 lines
1.1 KiB
INI
Executable File
20 lines
1.1 KiB
INI
Executable File
// Here you can add menu items from any plugin to Menus Front-End plugin, aka "amxmodmenu".
|
|
// You can also add menu items to the normal non-admin client menu "amx_menu".
|
|
//
|
|
// Adding to "amxmodmenu":
|
|
// Usage: "amx_addmenuitem <menu text> <menu command> <access flags> <plugin name>"
|
|
//
|
|
// Adding to "amx_menu":
|
|
// Usage: "amx_addclientmenuitem <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"
|
|
// amx_addclientmenuitem "Warcraft 3" "war3menu" "" "Warcraft 3 XP"
|
|
|