native

menu_display

Syntax

native menu_display(id, menu, page=0);

Description

Displays a menu to one client. This should never be called from a handler
when the item is less than 0 (i.e. calling this from a cancelled menu will
result in an error).

Parameters

id Client index.
menu Menu resource identifier.
page Page to start from (starting from 0).

Return

This function has no return value.

Error

Invalid menu resource or client index.