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 +:::