forked from Simnation/Main
Update sv_stash.lua
This commit is contained in:
parent
38a789ddda
commit
bbf3f38241
1 changed files with 6 additions and 6 deletions
|
@ -6,10 +6,10 @@ local info = {
|
|||
|
||||
-- New qb-inventory requirement for stash
|
||||
RegisterNetEvent(Utils.eventsPrefix .. ":qb-inventory:server:stashNew", function(stashId)
|
||||
function(stashId)
|
||||
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
|
||||
--exports[scriptName]:OpenInventory(playerId, stashId, info)
|
||||
TriggerServerEvent("inventory:server:OpenInventory", "stash", stashId, {
|
||||
-- Option 1: Using exports (recommended)
|
||||
exports["tgiann-inventory"]:OpenInventory(playerId, "stash", stashId, {
|
||||
maxweight = 4000000,
|
||||
slots = 50,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue