ok umm im creating a version of amxx for clanservers, to make it easier for warring and so on..its for my own use but i may release the package when im done.
at present im messing around with the amxx_music addon, and im attempting to create an amx menu for it with access level Z(ADMIN_USER) so users dont have 2 look through the motd at a play list, they have it in an amx menu.
here is my script so far..as u will see i have already added a warmenu to this and that menu works fine.
this is my what ive edited in the CMDMENU.sma
/* Commands Menus */
#define MAX_CMDS_LAYERS 5
new g_cmdMenuName[MAX_CMDS_LAYERS][] =
{
"CMD_MENU",
"CONF_MENU",
"SPE_MENU",
"WAR_MENU",
"MUSIC_MENU"
}
new g_cmdMenuCmd[MAX_CMDS_LAYERS][] =
{
"amx_cmdmenu",
"amx_cfgmenu",
"amx_speechmenu",
"amx_warmenu",
"amx_musicmenu"
}
new g_cmdMenuCfg[MAX_CMDS_LAYERS][] =
{
"cmds.ini",
"configs.ini",
"speech.ini",
"war.ini",
"music.ini"
}
new g_cmdMenuHelp[MAX_CMDS_LAYERS][] =
{
"- displays commands menu",
"- displays configs menu",
"- displays speech menu",
"- displays war menu",
"- displays music menu"
}
/* End of Commands Menu */
then i have the MENUFRONT.sma
AddDefaultMenus()
{
AddMenuLang("KICK_PLAYER", "amx_kickmenu", ADMIN_KICK, "Players Menu")
AddMenuLang("BAN_PLAYER", "amx_banmenu", ADMIN_BAN, "Players Menu")
AddMenuLang("SLAP_SLAY", "amx_slapmenu", ADMIN_SLAY, "Players Menu")
AddMenuLang("WAR_MENU", "amx_warmenu", ADMIN_MENU, "Commands Menu")
AddMenuLang("MUSIC_MENU", "amx_musicmenu", ADMIN_USER, "Commands Menu")
AddMenuLang("TEAM_PLAYER", "amx_teammenu", ADMIN_LEVEL_A, "Players Menu")
AddMenuLang("CHANGEL", "amx_mapmenu", ADMIN_MAP, "Maps Menu")
AddMenuLang("VOTE_MAPS", "amx_votemapmenu", ADMIN_MAP, "Maps Menu")
AddMenuLang("SPECH_STUFF", "amx_speechmenu", ADMIN_MENU, "Commands Menu")
AddMenuLang("CLIENT_COM", "amx_clcmdmenu", ADMIN_LEVEL_A, "Players Menu")
AddMenuLang("SERVER_COM", "amx_cmdmenu", ADMIN_MENU, "Commands Menu")
AddMenuLang("CVARS_SET", "amx_cvarmenu", ADMIN_CVAR, "Commands Menu")
AddMenuLang("CONFIG", "amx_cfgmenu", ADMIN_MENU, "Commands Menu")
AddMenuLang("LANG_SET", "amx_langmenu", ADMIN_CFG, "Multi-Lingual System")
AddMenuLang("STATS_SET", "amx_statscfgmenu", ADMIN_CFG, "Stats Configuration")
AddMenuLang("PAUSE_PLUG", "amx_pausecfgmenu", ADMIN_CFG, "Pause Plugins")
AddMenuLang("RES_WEAP", "amx_restmenu", ADMIN_CFG, "Restrict Weapons")
AddMenuLang("TELE_PLAYER", "amx_teleportmenu", ADMIN_LEVEL_A, "Teleport Menu")
}
as you can see ive added the WAR_MENU which worked like a charm...but when i added the MUSIC_MENU i got this error
ML_NOTFOUND MUSIC_MENU
can anyone see an error in there??
EDIT: i forgot 2 mention the commands in the menu i made do still work...and i can access the music menu..just the name in the amxmodmenu comes up as ML_NOTFOUND MUSIC_MENU
Regards
Mitch
__________________
hmmms........
|