> ## 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.

# Dequip weapon

> Dequips the currently equipped weapon.

Dequips the currently equipped weapon.

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

  ```lua Example theme={null}
  -- Dequip weapon
  exports['jaksam_inventory']:dequipWeapon()

  -- Dequip weapon without syncing the ammo to the server
  exports['jaksam_inventory']:dequipWeapon(true)
  ```
</CodeGroup>

### Parameters

| Name       | Data Type | Description                                                                  |
| ---------- | --------- | ---------------------------------------------------------------------------- |
| `skipSync` | boolean   | If true, the weapon will be dequipped without syncing the ammo to the server |

### Return value

None. Dequips the currently equipped weapon.


## Related topics

- [Client](/jaksam-inventory/functions/client/index.md)
- [Set weapon wheel](/jaksam-inventory/functions/client/set-weapon-wheel.md)
- [Weapon Stolen](/jobs-creator/server/search-steal-action/weapon-stolen.md)
- [Weapon Attachments](/jaksam-inventory/guides/weapon-attachments.md)
- [Add weapon to armory](/jobs-creator/server/armory/add-weapon-to-armory.md)
