IsObjectInACLGroup

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function is used to determine if an object is in a group.

Syntax

bool isObjectInACLGroup (string ObjectName, string GroupName)

Required Arguments

  • ObjectName: The Object name of the Object you wish to check is in the group for example resource.race or user.Jim
  • GroupName: The Group name of the group you wish to check the Object is in for example Admin

Returns

Returns true if the ObjectName is in the specified GroupName. false otherwise.

Example

--TODO

See Also