hudSetWeaponWheelTopSlot
HUD_SET_WEAPON_WHEEL_TOP_SLOT0x72C1056D678BB7D8The GTA V native HUD_SET_WEAPON_WHEEL_TOP_SLOT of the HUD namespace, as LS:MP client scripts call it: the global function hudSetWeaponWheelTopSlot, in JavaScript and in Lua.
hudSetWeaponWheelTopSlot(weaponHash: Hash): voidhudSetWeaponWheelTopSlot(weaponHash: Hash)Usage
JavaScript
hudSetWeaponWheelTopSlot(weaponHash);Lua
hudSetWeaponWheelTopSlot(weaponHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
weaponHash | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Set the active slotIndex in the wheel weapon to the slot associated with the provided Weapon hash
Reference
- Namespace
- HUD HUD
- In the game
void HUD_SET_WEAPON_WHEEL_TOP_SLOT(Hash weaponHash)- Hash
0x72C1056D678BB7D8- Formerly
_HUD_WEAPON_WHEEL_SET_SLOT_HASH