So I've been looking for a while, but can't find it

How would I be able to add permissions to a player in game through a script I make? So basically I want to be able to add ace permissions to a player in game when running a command or such. How could I do this? I’ve been googling for an hour now, just find the basic ace stuff…

Thank you.

same here any updates?

@OfficialBadger

Hi @OfficialBadger thanks for the reply, we use that but it gives LEO the group.leo. We are making it so that only users with the “group.leo onduty allow“ can do /onduty leo and then it gives them a new ace permission that allows them to use the LEO Toolbox section in a menu. I just need to know how to make a command add the user to a group. And remove with /offduty leo if possible