player_menu_info

Returns information about a menu (if any) the client is currently viewing.

Syntax

native player_menu_info(id, &menu, &newmenu, &menupage=0)

Usage

id Client index.
menu Variable to store old menu id. If none, then <1 will be
newmenu Variable to store new menu id. If none, then -1 will be
menupage Variable to store current page of the new menu, if any.

Return

1 if the player is viewing a menu, 0 otherwise.

Defined in newmenus.inc . This documentation was automatically generated from source.