I am trying to access my botmenu via the amxmodxmenu frontend.
Code:
// Adding to "amxmodmenu":
// Usage: "amx_addmenuitem <menu text> <menu command> <access flags> <plugin name>"
// 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"
This is my entry to the "custommenuitems.cfg"
Code:
amx_addmenuitem "Bot Control" "botmenu" "u" "botcontrol"
and attached is the very simple plugin that is used as the menu.
For both full admin and member admin
Code:
Full admin:
abcdefghijklmnopqrstu
Member Admin:
cdefiju
It displays on the menu but is disabled for both.
any ideas on what i am doing wrong?
EDIT: So The examples are wrong it needs the .amxx as the plugin name....... Corrected below
Code:
amx_addmenuitem "Bot Control" "botmenu" "u" "botcontrol.amxx"