UZStore
StoreYoutubeDiscord
  • 👋Welcome to UZStore
  • 📞INFORMATION
    • ⭐Discord Customer Role
    • ❔How can I download the files?
    • 🖥️Supported Resolutions
    • 🛠️Tebex Integration
    • 📝Updates
      • 🧙‍♂️UZCore
      • 🚧Trygon Garage
      • 🏆〡Trygon Hud V2.5
      • 🎁 Daily reward
      • 🌎〡Spawn Selector
      • 🤖〡Register
      • 🔧〡Trygon Mechanic
      • 🚗〡Trygon VehicleShop V2
    • 🧙‍♂️UZCore
  • 💯Taintless
    • ⏸️〡Pause Menu
      • How is it Customize ?
        • Player Details
        • Social/Online/Time
        • Custom Page
        • Announces
      • Changelog
        • v0.9.3
        • v0.9.4
        • v0.9.5
    • 💎〡Multicharacter
      • SQL Installation
      • Notification
      • Changelog
    • 🌎〡Spawn Selector
      • Customize
      • Changelog
        • v1.4.0
        • v1.5.0
    • 🌴〡Pure Hud
      • Customize
  • 👀Typhon
    • 🧙🏼〡Player List
      • Customize
    • 🤝〡Second Hand
      • Customize
      • Common errors and their solutions
    • 🎁〡Daily Reward
      • Customize
    • 📷〡Job Selector
      • Customize
  • 💚Trygon
    • 🏆〡Trygon Hud V2.5
      • SQL Installation
      • Common errors and their solutions
    • 🚧〡Trygon Garage
      • Customize
      • SQL Installation
    • 🎦〡Loadig Screen
      • Customize
    • 🎇〡Trygon Inventory
      • Customize
      • Exports
      • How is it installed ?
    • 🚗〡Trygon VehicleShop V2
      • Customize
      • Common errors and their solutions
    • 🤖〡Register
      • Customize
    • 🔧〡Trygon Mechanic
      • Customize
      • Common errors and their solutions
    • 🚛〡Jobs shipping
      • SQL Installation
Powered by GitBook
On this page

Was this helpful?

  1. Trygon
  2. 🎇〡Trygon Inventory

Exports

exports['uz_TrygonInventory']:RemoveItem(, , , )
How is it used ?
exports['uz_TrygonInventory']:RemoveItem(1, 'coffee', 2)
exports['uz_TrygonInventory']:RemoveItem(7, 'phone', 1, 4)

source: 1 - item: coffee - amount: 1 - Slot: 4


Server - AddItem
exports['uz_TrygonInventory']:AddItem(, , , )
How is it used ?
exports['uz_TrygonInventory']:AddItem(4, 'coffee')
exports['uz_TrygonInventory']:AddItem(1, 'coffee', 2)
exports['uz_TrygonInventory']:AddItem(24, 'phone', 4, {Metadata: '302-912'})

Server - setUseItem
exports['uz_TrygonInventory']:setUseItem(, )
How is it used ?

exports['uz_TrygonInventory']:setUseItem('coffee', function(item, source)
    if exports['uz_TrygonInventory']:RemoveItem(source, item.ItemData.Name, 1, item.Slot) then
    end
end)

Server - LoadInventory
exports['uz_TrygonInventory']:LoadInventory(source)
How is it used ?
local Inventory = exports['uz_TrygonInventory']:LoadInventory()

local Item = Inventory[tonumber(Slot)]

Server - SaveInventory
exports['uz_TrygonInventory']:SaveInventory(Name)
How is it used ?
exports['uz_TrygonInventory']:SaveInventory()

exports['uz_TrygonInventory']:SaveInventory('Stash')

exports['uz_TrygonInventory']:SaveInventory('Vehicles')

PreviousCustomizeNextHow is it installed ?

Last updated 10 months ago

Was this helpful?

💚