Skip to content

Adapt inventory

There are lots of inventory scripts on Fivem. We have no way of knowing the triggers of these scripts. So you will have to make this adaptation yourself.

Config.StashFunction = function(id, house)
   -- Enter here your inventory trigger
end 

For example "qb-inventory" Let's adapt it.

Config.StashFunction = function(id, house)
   TriggerServerEvent("inventory:server:OpenInventory", "stash", "HOUSE_"..house.id)
   TriggerEvent("inventory:client:SetCurrentStash", "HOUSE_"..house.id)
end 

Adaptation is not our responsibility.