AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   own menus ? how ? (https://forums.alliedmods.net/showthread.php?t=13797)

erik2k3 05-29-2005 19:45

own menus ? how ?
 
Hi, how can u add own menus for accessing some plugins ? i found this one : (custommenuitems.cfg)

// 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"

//amx_addmenuitem "Fun Stuff" fun_menu c "AINO Commands"

but as you can see in the last line above, it is set ( i think in the right way ) but it does not work. do i have to add something to somewhere ? or how can i build my own menu ?

would be great if someone could help me out here !

THX !


All times are GMT -4. The time now is 16:40.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.