1
0
Fork 0
forked from Simnation/Main

Update sv_stash.lua

This commit is contained in:
Nordi98 2025-07-14 17:27:24 +02:00
parent 38a789ddda
commit bbf3f38241

View file

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