AddItem

Last Updated2014-12-13
Created At2014-07-05

Appends a new item to the end of a menu.

native bool AddItem(const char[] info, const char[] display, int style = 0)

Parameters

const char[] info
Item information string.
const char[] display
Default item display string.
int style
Drawing style flags. Anything other than DEFAULT or DISABLED will be completely ignored when paginating.

Return Value

bool True on success, false on failure.

Error

Item limit reached.