I get this when I press something on the menu: Server tried to get invalid command: "say /reg"
This is my .ini file:
Code:
[Default Settings]
;These are the default settings for each menu created.
;You can add certain options in [Menu Settings] if you want to change them.
;Please note that every menu needs to have a different MENU_OPEN settings, therefore there's no default one.
MENU_TITLE = Useful Commands
MENU_TITLE_PAGE = %newline%Page:\d
MENU_BACK = \yPrevious Page
MENU_NEXT = \yNext Page
MENU_EXIT = \rClose
;MENU_OPEN = say /menu, say_team /menu, amx_mymenu -- This must be set with a different value on every menu!
MENU_FLAG = 0
MENU_TEAM = 0
MENU_ALIVEONLY = 0
MENU_ITEMS_PER_PAGE = 7
MENU_REOPEN = 0
MENU_ITEM_FORMAT = %item%
MENU_PREFIX = !g[Useful Commands]!n
MENU_NOACCESS = You have no access to this menu.
MENU_NOTEAM = Your team isn't allowed to use this menu.
MENU_ALIVE = You need to be alive to use this menu.
MENU_DEAD = You need to be dead to use this menu.
MENU_SOUND =
[New Menu = Menu Sample]
[Menu Settings]
;<settings> = <value>
MENU_OPEN = say /menu, say_team /menu, amx_mymenu
MENU_REOPEN = 1
[Menu Items]
;<Item Name> <Command> [Flag] [Team]
"Register System" "say /reg"
"XP Ranks" "say /xplist"
"Played Time" "say /pm"
"Switch team" "say /change"
"Go Spectator" "say /spec"
"Back to game" "say /back"
"Parachute" "say /para"
"Show Rules" "say /rules"
"How to get VIP" "/wantvip"
"VIP'S Online" "say /vips"
"Boost for VIP" "say /boost"
"Admin Price" "say /admininfo"
One more thing: How to add a motd too? I have a lot of commands with say but I also have some motd to open