diff --git a/resources/[creator]/jobs_creator/_modules/stash/qb-inventory/sv_stash.lua b/resources/[creator]/jobs_creator/_modules/stash/qb-inventory/sv_stash.lua index 0bd969668..093cc6535 100644 --- a/resources/[creator]/jobs_creator/_modules/stash/qb-inventory/sv_stash.lua +++ b/resources/[creator]/jobs_creator/_modules/stash/qb-inventory/sv_stash.lua @@ -1,10 +1,7 @@ -- New qb-inventory requirement for stash RegisterNetEvent(Utils.eventsPrefix .. ":qb-inventory:server:stashNew", function(stashId) -function(stashId) - local playerId = source - -- Option 1: Using exports (recommended) - exports["tgiann-inventory"]:OpenInventory(playerId, "stash", stashId, { + TriggerEvent("inventory:server:OpenInventory", "stash", stashId, { maxweight = 4000000, slots = 50, })