ValidationHasScriptPermission
Callable
Parameters
character: Character
The character to check
property: ScriptPermissionProperty
The name of the property to check
permissionLevel: ScriptPermissionLevel
The permission level to check
Returns boolean
TRUE if the character permits modifications to the provided property
Checks whether a character permits the given permission level to modify the given item property. For example, passing
Player
in as the character,"Block"
in as the property andScriptPermissionLevel.FRIENDS
in as the permission level will check whether the player's friends are permitted to freely modify"Block"
properties on the player's worn items without strict validation.