ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. aclGroupListObjects

Function

aclGroupListObjects

ServerPermissions (ACL)Identical to MTA:SA

Returns the objects belonging to a group (e.g. "user.jan").

Syntax

table aclGroupListObjects(aclgroup theGroup)

Arguments

theGroupaclgroup
The group.

Returns

A table of object names.

Example

for _, obj in ipairs(aclGroupListObjects(aclGetGroup("VIP"))) do
    outputServerLog(obj)
end