mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(server/acl): add ox_lib:checkPlayerAce as callback
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user