native

get_user_menu

Syntax

native get_user_menu(index,&id,&keys);

Description

Gets what menu the player is watching and what keys for menu he have.
When there is no menu the index is 0. If the id is negative then the menu
is VGUI in other case the id is from register_menuid() function.