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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0resmon.org/0resmon/0resmon-1/frkn-resources/frkn-clean-job/ox-inventory-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
