if Config.Inventory ~= 'qb-inventory' then return end function openStash(customData, uniq) local data = customData or Config.DefaultStashData uniq = uniq or currentlyInGarage uniq = uniq:gsub('-', '_') -- if you use old qb-inventory version, uncomment here and remove 'housing:openStash' trigger. -- TriggerServerEvent('inventory:server:OpenInventory', 'stash', uniq, data) -- TriggerEvent('inventory:client:SetCurrentStash', uniq) TriggerServerEvent('garages:openStash', uniq, data) end