AMXX-BG.INFO newmenus.inc

newmenus

Browse all symbols documented inside this include file.

Constants

Name Description
_newmenus_included
MEXIT_ALL = 1
MEXIT_FORCE Menu will have an exit option, even when pagination is disabled. There have to be less than 10 items in the menu or it won't appear. The exit option will be appended to the last item with no extra slot padding. If you want it in the 10th slot you have to pad it manually with menu_addblank2
MEXIT_NEVER Menu will not have an exit option
MPROP_PERPAGE Number of items per page (param1 = number, 0=no paginating, 7=default)
MPROP_BACKNAME Name of the back button (param1 = string)
MPROP_NEXTNAME Name of the next button (param1 = string)
MPROP_EXITNAME Name of the exit button (param1 = string)
MPROP_TITLE Menu title text (param1 = string)
MPROP_EXIT Exit functionality (param1 = number, see MEXIT constants)
MPROP_NOCOLORS Sets whether colors are not auto (param1 = number, 0=default)
MPROP_NUMBER_COLOR Color indicator to use for numbers (param1 = string, "\r"=default)
MPROP_PAGE_CALLBACK Function to be called on Back and Next (param1 = string) public function(id, status, menu); where status is either MENU_BACK or MENU_MORE Pass NULL_STRING to disable the callback
MPROP_SHOWPAGE Whether to show the page number in menu title (param1 = bool, true = default)
MEXIT_NORMAL = 0 /* DEPRECATED, do not use (has no effect) */
MENUPAD_NONE = 0 /* DEPRECATED, do not use (has no effect) */
MENUPAD_PAGE = 1 /* DEPRECATED, do not use (has no effect) */
MPROP_ORDER = 7 /* DEPRECATED, do not use (has no effect) */
MPROP_PADMENU = 9 /* DEPRECATED, do not use (has no effect) */