forked from Simnation/Main
Update sv_stash.lua
This commit is contained in:
parent
01d047b3cc
commit
93815cee74
1 changed files with 5 additions and 4 deletions
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue