Inventory
This page serves as a guide to help you integrate your inventory with this resource.
Config File
Config.Inventory = 0Inventory Files
-- Retrieves all items from the player's inventory
-- @returns {table} items - The table containing all items and their metadata
Inventory.GetItems = function()
-- If the inventory you use is not supported by this script, place your code here
print('^1[GANGS] Inventory not recognized^7')
end-- Retrieves an item from the player's inventory
-- @param {number} source - The player's server identifier
-- @param {string} item - The name of the item
-- @returns {table} item - The table containing all metadata of the item
Inventory.GetPlayerItem = function(source, item)
-- If the inventory you use is not supported by this script, place your code here
print('^1[GANGS] Inventory not recognized^7')
endLast updated