Last updated 4 months ago
exports['uz_TrygonInventory']:RemoveItem(, , , )
exports['uz_TrygonInventory']:RemoveItem(1, 'coffee', 2) exports['uz_TrygonInventory']:RemoveItem(7, 'phone', 1, 4)
source: 1 - item: coffee - amount: 1 - Slot: 4
exports['uz_TrygonInventory']:AddItem(, , , )
exports['uz_TrygonInventory']:AddItem(4, 'coffee') exports['uz_TrygonInventory']:AddItem(1, 'coffee', 2) exports['uz_TrygonInventory']:AddItem(24, 'phone', 4, {Metadata: '302-912'})
exports['uz_TrygonInventory']:setUseItem(, )
exports['uz_TrygonInventory']:setUseItem('coffee', function(item, source) if exports['uz_TrygonInventory']:RemoveItem(source, item.ItemData.Name, 1, item.Slot) then end end)
exports['uz_TrygonInventory']:LoadInventory(source)
local Inventory = exports['uz_TrygonInventory']:LoadInventory() local Item = Inventory[tonumber(Slot)]
exports['uz_TrygonInventory']:SaveInventory(Name)
exports['uz_TrygonInventory']:SaveInventory() exports['uz_TrygonInventory']:SaveInventory('Stash') exports['uz_TrygonInventory']:SaveInventory('Vehicles')