diff --git a/resource/acl/server.lua b/resource/acl/server.lua index 6bef3e2..d233636 100644 --- a/resource/acl/server.lua +++ b/resource/acl/server.lua @@ -37,3 +37,7 @@ function lib.removePrincipal(child, parent) ExecuteCommand(('remove_principal %s %s'):format(child, parent)) end + +lib.callback.register('ox_lib:checkPlayerAce', function(source, command) + return IsPlayerAceAllowed(source, command) +end)