Function
aclSave
Saves the ACL to acl.json in the server folder.
Syntax
bool aclSave()Differences from MTA:SA
- In MTA:SA this function is client-side only.
In MTA:SA
aclSave()Returns
true on success.
Example
addEventHandler("onResourceStop", resourceRoot, function()
if aclHasUnsavedChanges() then aclSave() end
end)