View Single Post
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-13-2004 , 16:43  
Reply With Quote #5

Added a file configs/custommenuitems.cfg

It looks like this:

Quote:
// 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"
You can get it from CVS right away (actually you can create it yourself, it's just a cfg file). Just be sure to also get+compile menufront.sma from CVS.

For playing with my CZERO server I added this, showing it to you as another example:

Quote:
amx_addmenuitem "CZ Bots" "amx_czbotmenu" "hu" "CZ Bot control"
amx_addmenuitem "CZ Bots Weapon Restriction" "amx_czbotmenuwr" "hu" "CZ Bot control"
These are menus from the "CZ Bot control" plugin released by EKS.
Johnny got his gun is offline