Unity-United / ox_lib

Modules to utilise in other resources via imports and exports.

Home Page:https://overextended.github.io/docs/ox_lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


ox_lib

Cfx provides functionality for loading external files in a resource through fxmanifest.

lua54 'yes'
shared_script '@ox_lib/init.lua'

server.cfg

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

License

LGPL-3.0-or-later

Lua Language Server

  • Install Lua Language Server to ease development with annotations, type checking, diagnostics, and more.
  • Install cfxlua-vscode to add natives and cfxlua runtime declarations to LLS.
  • You can load ox_lib into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path.
    • e.g. "c:\fxserver\resources\ox_lib"

About

Modules to utilise in other resources via imports and exports.

https://overextended.github.io/docs/ox_lib

License:GNU Lesser General Public License v3.0


Languages

Language:Lua 99.7%Language:HTML 0.3%