feat(server/acl): add ox_lib:checkPlayerAce as callback

This commit is contained in:
Linden
2022-09-14 00:53:08 +10:00
parent ed7bf536e8
commit 9d8584ff9e

View File

@@ -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)