You can find exports and events here.
Client Exports Server Exports Client Events Server Events
Copy exports[ "gfx-inventory" ]: isOpened () -- returns boolean
Copy exports[ "gfx-inventory" ]: isDisabled () -- returns boolean
Copy exports[ "gfx-inventory" ]: DisableInventory (boolean)
Copy exports[ "gfx-inventory" ]: OpenInventory (inventoryType)
Copy exports[ "gfx-inventory" ]: AddItem (source, inventoryType, itemName, itemCount, info)
Copy exports[ "gfx-inventory" ]: RemoveItem (source, inventoryType, itemName, itemCount, info) -- returns boolean
Copy exports[ "gfx-inventory" ]: GetItemByName (source, inventoryType, itemName)
-- returns array
Copy exports[ "gfx-inventory" ]: GetInventoryWeight (source, inventoryType)
-- returns weight as integer or float
Copy exports[ "gfx-inventory" ]: HasInventoryGotSpaceForItem (source, inventoryType, itemName, itemCount) -- returns boolean
Copy exports[ "gfx-inventory" ]: HasItem (source, inventoryType, itemName, itemCount)
-- returns boolean
Copy exports[ "gfx-inventory" ]: GetInventory (source, inventoryType)
-- returns array
Copy exports[ "gfx-inventory" ]: ClearInventory (source, inventoryType)
Copy AddEventHandler ( "gfx-inventory:client:OnItemUsed" , function ( itemName , info )
-- you can call functions here
end )
Copy AddEventHandler ( "gfx-inventory:OnItemUsed" , function ( itemName )
-- you can call functions here
end )