get_user_menu

Синтаксис

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

Употреба

index
Client index
id
Variable to store menu id to
keys
Variable to store menu keys to

Описание

Returns if the client is watching a menu.

Забележка

If there is no menu, the id is 0. If the id is negative, then the client
views a VGUI menu. Otherwise, the id is an id acquired from the
register_menuid() function.

Връщаща стойност

1 if client views a menu, 0 otherwise

Грешка

If the client index is not within the range of 1 to
MaxClients, an error will be thrown.