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,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)
|
Loading…
Add table
Add a link
Reference in a new issue