AclGroupList: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Server function}}  
{{Server function}}  
<!-- Describe in plain english what this function does. Don't go into details, just give an overview -->
This function returns a table of all the ACL groups.
This function returns a table of all the ACL groups.


==Syntax==  
==Syntax==  
<!-- NOTE: don't use 'special' names for variable names, e.g. you shouldn't be writing things like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents the syntax highlighting being odd -->
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
table of aclgroup aclGroupList ()
table aclGroupList ()
</syntaxhighlight>  
</syntaxhighlight>  


===Returns===
===Returns===
<!-- Make this descriptive. Explain what cases will return false. If you're unsure, add a tag to it so we can check -->
Returns a table of all the ACL groups if successful, returns an empty table if no ACL groups exist. ''false''/''nil'' can be returned if this function fails for some other reason.
Returns a table over all ACL groups if successfull, returns an empty table if no ACL groups exist. ''false''/''nil'' can be returned if this function fails for some other reason.


==Example==  
==Example==  

Revision as of 13:09, 21 December 2007

This function returns a table of all the ACL groups.

Syntax

table aclGroupList ()

Returns

Returns a table of all the ACL groups if successful, returns an empty table if no ACL groups exist. false/nil can be returned if this function fails for some other reason.

Example

This example does...

--TODO

See Also