IsObjectInACLGroup

From Multi Theft Auto: Wiki
Revision as of 22:10, 30 March 2009 by Arc (talk | contribs)
Jump to navigation Jump to search

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

Syntax

bool isObjectInACLGroup ( string object, string group )

Required Arguments

  • object: the name of the object to check. Examples: "resource.ctf", "user.Jim".
  • group: the name of the group to look in. Example: "Admin"

Returns

Returns true if the object is in the specified group, false if it is not or invalid arguments where passed.

Example

--TODO

See Also