AclGetRight

From Multi Theft Auto: Wiki
Revision as of 21:45, 19 December 2007 by EAi (talk | contribs) (→‎Returns)
Jump to navigation Jump to search

This function returns whether the access for the given right is set to true or false in the ACL.

Syntax

bool aclGetRight ( acl theAcl, string rightName )

Required Arguments

  • theAcl: The ACL to get the right from
  • rightName: The right name to return the access value of.

Returns

Returns true or false if the ACL gives access or not to the given function. Returns nil if it failed for some reason, e.g. an invalid ACL was specified or the right specified does not exist in the ACL.

Example

This example does...

--TODO

See Also