forked from Simnation/Main
Update sv_stash.lua
This commit is contained in:
parent
8254b4913c
commit
19fb68f805
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
||||||
|
|
||||||
-- 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)
|
TriggerEvent("inventory:server:OpenInventory", "stash", stashId, {
|
||||||
local playerId = source
|
|
||||||
-- Option 1: Using exports (recommended)
|
|
||||||
exports["tgiann-inventory"]:OpenInventory(playerId, "stash", stashId, {
|
|
||||||
maxweight = 4000000,
|
maxweight = 4000000,
|
||||||
slots = 50,
|
slots = 50,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue