Skip to content

llGetInventoryPermMask

function ll.GetInventoryPermMask(InventoryItem: string, BitMask: number): number

Returns the requested permission mask for the inventory item.

Returns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, llGetInventoryPermMask returns FALSE and causes the object to say "No item named '<item>'", where "<item>" is item.

Parameters
InventoryItem (string)
Inventory item name.
BitMask (number)
MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE or MASK_NEXT

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

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