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

Function

aclRemoveRight

ServerPermissions (ACL)Identical to MTA:SA

Removes a right entry from a list.

Syntax

bool aclRemoveRight(acl theAcl, string rightName)

Arguments

theAclacl
The list.
rightNamestring
Right name.

Returns

true on success.

Example

aclRemoveRight(aclGet("Moderator"), "command.ban")