AclGetRight

From Multi Theft Auto: Wiki
Revision as of 10:04, 26 November 2007 by ChrML (talk | contribs)
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 reasno, ie. invalid ACL or the right name does not exist.

Example

This example does...

--TODO

See Also