1
0
Fork 0
forked from Simnation/Main

Update sv_stash.lua

This commit is contained in:
Nordi98 2025-07-14 18:11:07 +02:00
parent 8254b4913c
commit 19fb68f805

View file

@ -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,
})