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