Update server.lua

This commit is contained in:
MrNewb committed 2025-06-07 21:13:43 -04:00
1 parent 294fa7a959
commit 2f1134f268
1 file changed
+3 -3
+3 -3
View File
@@ -111,11 +111,11 @@ end
---This will open the specified stash for the src passed.
---@param src number
---@param _type string
---@param id number|string
---@return nil
Inventory.OpenStash = function(src, id)
assert(Inventory.Stashes[id], "Stash not found", id)
TriggerClientEvent('ox_inventory:openInventory', src, 'stash', id)
Inventory.OpenStash = function(src, _type, id)
ox_inventory:forceOpenInventory(src, _type, id)
end
---This will register a stash