1
0
Fork 0
forked from Simnation/Main

Update sv_stash.lua

This commit is contained in:
Nordi98 2025-07-14 18:37:36 +02:00
parent 01d047b3cc
commit 93815cee74

View file

@ -1,8 +1,9 @@
-- New qb-inventory requirement for stash
RegisterNetEvent(Utils.eventsPrefix .. ":qb-inventory:server:stashNew", function(stashId) RegisterNetEvent(Utils.eventsPrefix .. ":qb-inventory:server:stashNew", function(stashId)
TriggerEvent("inventory:server:OpenInventory", "stash", stashId, { local playerId = source
maxweight = 4000000, local scriptName = Utils.getScriptName("qb-inventory") -- DO NOT EDIT! If you want to edit the name, you can do it in-game
slots = 50, TriggerServerEvent("inventory:server:OpenInventory", "stash", stashId, {
maxweight = 4000000,
slots = 50,
}) })
end) end)