# Ox Inventory Integration

#### Important: OX Inventory Weapon Whitelist <a href="#user-content-important-ox-inventory-weapon-whitelist" id="user-content-important-ox-inventory-weapon-whitelist"></a>

If you are using `ox_inventory`, you **must** whitelist the `WEAPON_SPRAYGUN` so that the inventory system does not automatically remove the water gun from players' hands during the mission.

Find the `ignoreweapons` section in your `ox_inventory/init.lua` file and add the following line:

```
ox_inventory/init.lua
```

```lua
ignoreweapons[`WEAPON_SPRAYGUN`] = true
```

*Example of how it should look in the file:*

```lua
ignoreweapons[`WEAPON_UNARMED`] = true
ignoreweapons[`WEAPON_HANDCUFFS`] = true
ignoreweapons[`WEAPON_GARBAGEBAG`] = true
ignoreweapons[`OBJECT`] = true
ignoreweapons[`WEAPON_HOSE`] = true
ignoreweapons[`WEAPON_SPRAYGUN`] = true  -- Add this line!
```

<br>
