llGetInventoryPermMask
function ll.GetInventoryPermMask(InventoryItem: string, BitMask: number): numberReturns 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
Examples
Section titled “Examples”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.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGetInventoryPermMask