> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/guides/illegal-runs/ox-inventory.md).

# Ox Inventory

* Go to **ox\_inventory/modules/inventory/server.lua** line 164, it should look something like this:

<figure><img src="/files/kPNEpmqz8OdNIew5CyC9" alt=""><figcaption></figcaption></figure>

* Replace lines 164 and 165 with this code:

```lua
local storage = {
  10, 50000
}
if source > 0 then
  local model, class = lib.callback.await('ox_inventory:getVehicleData', source, data.netid)
  storage = Vehicles[data.type].models[model] or Vehicles[data.type][class]
end
```

* It should look something like this:

<figure><img src="/files/D0MtZAHuCKBMyuCf0Pi8" alt=""><figcaption></figcaption></figure>
