GetItem
Retrieves information about a menu item.
native bool GetItem(int position, char[] infoBuf, int infoBufLen, int& style = 0, char[] dispBuf = "", int dispBufLen = 0, int client = 0)
Parameters
int position
Position, starting from 0.
char[] infoBuf
Info buffer.
int infoBufLen
Maximum length of the info buffer.
int& style
By-reference variable to store drawing flags.
char[] dispBuf
Display buffer.
int dispBufLen
Maximum length of the display buffer.
int client
Client index. Must be specified if menu is per-client random shuffled, -1 to ignore.
Return Value
bool True on success, false if position is invalid.