From a0fb9847b9e83bac61ad0b9b5e10768851d50e17 Mon Sep 17 00:00:00 2001 From: Judd <85649796+juddisjudd@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:53:02 -0700 Subject: [PATCH] Add Ace Perms to docs (#43) --- docs/ox_lib/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/ox_lib/index.md b/docs/ox_lib/index.md index cb0ac3ff..c49cdda4 100644 --- a/docs/ox_lib/index.md +++ b/docs/ox_lib/index.md @@ -23,6 +23,14 @@ Or if the library is the only shared script you use you can do: shared_script '@ox_lib/init.lua' ``` +**ACE Permissions:** +``` +add_ace resource.ox_lib command.add_ace allow +add_ace resource.ox_lib command.remove_ace allow +add_ace resource.ox_lib command.add_principal allow +add_ace resource.ox_lib command.remove_principal allow +``` + That's it! You can now use the library functions inside of your resource, check the rest of the documentation to see how to utilise them. @@ -63,4 +71,4 @@ you will see your changes after saving your file. If you want to work in game you can run `pnpm start:game` which writes changes to disk, so the only thing you have to do is restart the resource for it take affect. -::: \ No newline at end of file +:::