| Property | Value |
|---|---|
| Native Name | _HUD_WEAPON_WHEEL_GET_SELECTED_ITEM_HASH |
| Hash | 0x9C409BBC492CB5B1 |
| Return Type | Hash |
| Build | 1207 |
| API Set | client |
Description: Returns the hash of the currently highlighted item in the weapon wheel. Only works while the wheel is open otherwise will return false
Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
Usage
Lua (Direct):
local result = HudWeaponWheelGetSelectedItemHash()
Lua (Hash):
local result = Citizen.InvokeNative(0x9C409BBC492CB5B1)