> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set jaksam weapon wheel

> Enables or disables the jaksam custom radial weapon wheel at runtime.

Enables or disables the jaksam custom radial weapon wheel at runtime. Useful when you need to prevent players from switching weapons via the radial wheel during specific scenarios (cutscenes, minigames, etc.).

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:setJaksamWeaponWheel(state)
  ```

  ```lua Example theme={null}
  -- Disable jaksam weapon wheel during a cutscene
  exports['jaksam_inventory']:setJaksamWeaponWheel(false)
  -- ... cutscene code ...
  exports['jaksam_inventory']:setJaksamWeaponWheel(true) -- Re-enable after
  ```
</CodeGroup>

### Parameters

| Name    | Data Type      | Description                                                                                                                                                                       |
| ------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `state` | boolean \| nil | If true, the jaksam radial weapon wheel is enabled. If false, the jaksam radial weapon wheel is disabled (closes it immediately if open). If nil, uses the current internal state |

### Return value

None.


## Related topics

- [Client](/jaksam-inventory/functions/client/index.md)
- [Set weapon wheel](/jaksam-inventory/functions/client/set-weapon-wheel.md)
- [Weapon Attachments](/jaksam-inventory/guides/weapon-attachments.md)
- [Set inventory disabled](/jaksam-inventory/functions/client/set-inventory-disabled.md)
- [Prevent Police Weapons from Being Stolen](/jaksam-inventory/guides/block-police-weapon-rob.md)
