For the complete documentation index, see llms.txt. This page is also available as Markdown.

Client-Side

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

function OpenStorage(metadata)
    exports.ox_inventory:openInventory('stash', {id = metadata.id})
end
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

Last updated