Constants

newmenus.inc

amxmodx 1.8.2 hg65

MEXIT_ALL

MEXIT_ALL
#define MEXIT_ALL		1		/* Menu will have an exit option (default)*/

MEXIT_NEVER

MEXIT_NEVER
#define MEXIT_NEVER		-1		/* Menu will not have an exit option */

MPROP_PERPAGE

MPROP_PERPAGE
#define MPROP_PERPAGE	1		/* Number of items per page (param1 = number, 0=no paginating, 7=default) */

MPROP_BACKNAME

MPROP_BACKNAME
#define MPROP_BACKNAME	2		/* Name of the back button (param1 = string) */

MPROP_NEXTNAME

MPROP_NEXTNAME
#define MPROP_NEXTNAME	3		/* Name of the next button (param1 = string) */

MPROP_EXITNAME

MPROP_EXITNAME
#define MPROP_EXITNAME	4		/* Name of the exit button (param1 = string) */

MPROP_TITLE

MPROP_TITLE
#define MPROP_TITLE		5		/* Menu title text (param1 = string) */

MPROP_EXIT

MPROP_EXIT
#define MPROP_EXIT		6		/* Exit functionality (param1 = number, see MEXIT constants) */

MPROP_NOCOLORS

MPROP_NOCOLORS
#define MPROP_NOCOLORS	8		/* Sets whether colors are not auto (param1 = number, 0=default) */

MPROP_NUMBER_COLOR

MPROP_NUMBER_COLOR
#define MPROP_NUMBER_COLOR	10	/* Color indicator to use for numbers (param1 = string, "\r"=default) */

MEXIT_NORMAL

MEXIT_NORMAL
#define MEXIT_NORMAL	0		/* DEPRECATED, do not use (has no effect) */

MPROP_ORDER

MPROP_ORDER
#define MPROP_ORDER		7		/* DEPRECATED, do not use (has no effect) */

MPROP_PADMENU

MPROP_PADMENU
#define MPROP_PADMENU	9		/* DEPRECATED, do not use (has no effect) */