Go to ox_inventory/modules/server.lua line 162-163, it should look something like this:
Replace both lines (162 - 163) with this code:
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