Add Ace Perms to docs (#43)

This commit is contained in:
Judd authored and GitHub committed 2022-09-07 20:53:02 +02:00
1 parent c31f72e047
commit a0fb9847b9
1 file changed
+9 -1
+9 -1
View File
@@ -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.
:::
:::