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

Function

aclReload

Reloads the ACL from disk, discarding unsaved changes.

Syntax

bool aclReload()

Differences from MTA:SA

  • In MTA:SA this function is client-side only.

In MTA:SA

aclReload()

Returns

true on success.

Example

addCommandHandler("aclreload", function(player)
    if isObjectInACLGroup(player, aclGetGroup("Admin")) then aclReload() end
end)