llSetObjectPermMask
God Mode Only
void llSetObjectPermMask(integer PermissionFlag, integer PermissionMask)Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.
Parameters
-
PermissionFlag(integer) - MASK_* flag
-
PermissionMask(integer) - Permission bit-field (PERM_* flags)
This function sets permission masks for the root object the script is attached to. It requires god mode to execute. Use the MASK_* flags to specify which permission category to modify, and the PERM_* flags to set the specific permissions.