_HUD_GET_INVENTORY_WHEEL_CURRENTLY_HIGHLIGHTED
Returns the hash of the currently highlighted item in the weapon wheel.
0x9C409BBC492CB5B1HudGetInventoryWheelCurrentlyHighlighted_HUD_WEAPON_WHEEL_GET_SELECTED_ITEM_HASHSignature
Hash _HUD_GET_INVENTORY_WHEEL_CURRENTLY_HIGHLIGHTED();Returns Hash
Description
Returns the hash of the currently highlighted item in the weapon wheel.
Only works while the wheel is open.
Use in conjunction with IS_CONTROL_JUST_RELEASED(0, 'INPUT_OPEN_WHEEL_MENU') to detect item selection/usage.
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.
femga rdr3_discoveries · research notes
0x9c409bbc492cb5b1(by aaron1a12)
Returns the hash of the currently highlighted item in the weapon wheel. Only works while the wheel is open.
Use in conjunction with IsControlJustReleased(0, `INPUT_OPEN_WHEEL_MENU`) to detect item selection/usage.
if N_0x9c409bbc492cb5b1() == `CONSUMABLE_PEACHES_CAN` and IsControlJustReleased(0, `INPUT_OPEN_WHEEL_MENU`) then
print("You just ate a bunch of peaches.")
endUsage
local retval = HudGetInventoryWheelCurrentlyHighlighted()
-- always works, by hash
local retval = Citizen.InvokeNative(0x9C409BBC492CB5B1, Citizen.ResultAsInteger())JavaScript and C#
const retval = HudGetInventoryWheelCurrentlyHighlighted();
// by hash
const retval = Citizen.invokeNative('0x9C409BBC492CB5B1', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x9C409BBC492CB5B1);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives · femga rdr3_discoveries
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.