Skip to content

llSetInventoryPermMask

God Mode Only
function ll.SetInventoryPermMask(InventoryItem: string, PermissionFlag: number, PermissionMask: number)

Sets the given permission mask to the new value on the inventory item.

Parameters
InventoryItem (string)
An item in the prim's inventory
PermissionFlag (number)
MASK_* flag
PermissionMask (number)
Permission bit-field (PERM_* flags)

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

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