> For the complete documentation index, see [llms.txt](https://docs.vames-store.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vames-store.com/assets/vms_housing/configuration-files/integration-files/inventory/client-side.md).

# Client-Side

{% tabs %}
{% tab title="ox\_inventory" %}

```lua
if Config.Inventory ~= 'ox_inventory' then
    return
end

function OpenStorage(metadata)
    exports.ox_inventory:openInventory('stash', {id = metadata.id})
end
```

{% endtab %}

{% tab title="qb-inventory" %}

```lua
if Config.Inventory ~= 'qb-inventory' then
    return
end

function OpenStorage(metadata)
    TriggerServerEvent('vms_housing:qb-inventory:openStorage', metadata.id, {
        maxweight = metadata.weight,
        slots = metadata.slots
    })
end
```

{% endtab %}
{% endtabs %}
