Allow for passing through stash options when opening a stash

This commit is contained in:
Nicholas Blew
2024-01-18 02:20:20 -05:00
parent 52dc9ff8ae
commit 63c2d5d83d

View File

@@ -379,7 +379,7 @@ function openStash(data)
exports[CodeMInv]:OpenStash(data.stash, 400000, 100)
else
TriggerEvent("inventory:client:SetCurrentStash", data.stash)
TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash)
TriggerServerEvent("inventory:server:OpenInventory", "stash", data.stash, data.stashOptions)
end
lookEnt(data.coords)
end