# Ox Inventory

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

<figure><img src="https://1688068901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9bCwnajAqpi3Viykb5Wi%2Fuploads%2FViIvhvC5JnlitSN9K9i5%2F%7BD874240C-CD20-4A32-BB9F-1959CE415C09%7D.png?alt=media&#x26;token=5b358517-c53c-487f-b372-8b76615bcdb9" 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="https://1688068901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9bCwnajAqpi3Viykb5Wi%2Fuploads%2FLiY0MkZjoBMbX4U1yp7N%2F%7BC44583BE-B191-4897-AA67-2205E1B90B8F%7D.png?alt=media&#x26;token=8b85728e-d3a1-4e8a-b47d-c025b85c03d4" alt=""><figcaption></figcaption></figure>
