Skip to content

llGetInventoryName

function ll.GetInventoryName(InventoryType: number, Index: number): string

Returns the name of the inventory item of a given type, specified by index number.

Use the inventory constants INVENTORY_* to specify the type.

Parameters
InventoryType(number)
Inventory item type
Index(number)
Index number of inventory item.

Add example usage here showing SLua/Luau syntax with ll.GetInventoryName().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.