mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 06:28:53 +00:00
Add Ace Perms to docs (#43)
This commit is contained in:
1 file changed
+9
-1
@@ -23,6 +23,14 @@ Or if the library is the only shared script you use you can do:
|
|||||||
shared_script '@ox_lib/init.lua'
|
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!
|
That's it!
|
||||||
You can now use the library functions inside of your resource, check the rest of the
|
You can now use the library functions inside of your resource, check the rest of the
|
||||||
documentation to see how to utilise them.
|
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
|
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.
|
the only thing you have to do is restart the resource for it take affect.
|
||||||
:::
|
:::
|
||||||
Reference in new issue
Block a user