Update server.lua
This commit is contained in:
1 parent
294fa7a959
commit
2f1134f268
1 file changed
+3
-3
@@ -111,11 +111,11 @@ end
|
|||||||
|
|
||||||
---This will open the specified stash for the src passed.
|
---This will open the specified stash for the src passed.
|
||||||
---@param src number
|
---@param src number
|
||||||
|
---@param _type string
|
||||||
---@param id number|string
|
---@param id number|string
|
||||||
---@return nil
|
---@return nil
|
||||||
Inventory.OpenStash = function(src, id)
|
Inventory.OpenStash = function(src, _type, id)
|
||||||
assert(Inventory.Stashes[id], "Stash not found", id)
|
ox_inventory:forceOpenInventory(src, _type, id)
|
||||||
TriggerClientEvent('ox_inventory:openInventory', src, 'stash', id)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
---This will register a stash
|
---This will register a stash
|
||||||
|
|||||||
Reference in new issue
Block a user