Raised This Month: $ Target: $400
 0% 

Issues with amx_addmenuitem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-19-2013 , 23:39   Issues with amx_addmenuitem
Reply With Quote #1

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"
Attached Files
File Type: sma Get Plugin or Get Source (botcontrol.sma - 668 views - 1.0 KB)

Last edited by Doc-Holiday; 01-19-2013 at 23:48.
Doc-Holiday is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:24.


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