If you want to know more about aces, here’s a basic overview of some of the things you can do with them: Basic Aces & Principals overview/guide it’s definitely not everything!
RegisterCommand("commandName", function(source, args, rawCommand)
-- normal function handling here
end, true) -- set this to false to allow anyone.
The above snippet would require the command.commandName ace.
So yes, you can use RegisterCommand to restrict commands to use ace permissions.
PS. Also moved this topic to the correct category, because it’d be pointless to hide this useful information!
8 Likes