Skip to content

Commit

Permalink
feat: add get inventory export
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwerty1Verified authored Oct 3, 2024
1 parent 96ec7df commit be8cf49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -758,3 +758,9 @@ function RemoveItem(identifier, item, amount, slot, reason)
end

exports('RemoveItem', RemoveItem)

function GetInventory(identifier)
return Inventories[identifier]
end

exports('GetInventory', GetInventory)

0 comments on commit be8cf49

Please sign in to comment.