1
0
Fork 0
forked from Simnation/Main

Update sv_stash.lua

This commit is contained in:
Miho931 2025-07-14 16:37:18 +02:00
parent 096c4ffcaf
commit 3cb7d9d756

View file

@ -8,5 +8,9 @@ local info = {
RegisterNetEvent(Utils.eventsPrefix .. ":qb-inventory:server:stashNew", function(stashId) RegisterNetEvent(Utils.eventsPrefix .. ":qb-inventory:server:stashNew", 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 local scriptName = Utils.getScriptName("qb-inventory") -- DO NOT EDIT! If you want to edit the name, you can do it in-game
exports[scriptName]:OpenInventory(playerId, stashId, info) --exports[scriptName]:OpenInventory(playerId, stashId, info)
TriggerServerEvent("inventory:server:OpenInventory", "stash", stashId, {
maxweight = 4000000,
slots = 50,
})
end) end)