Skip to content

llGetInventoryNumber

function ll.GetInventoryNumber(InventoryType: number): number

Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.

Use the inventory constants INVENTORY_* to specify the type.

Parameters
InventoryType (number)
Inventory item type

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

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