Skip to content

Modules to utilise in other resources via imports and exports.

License

Notifications You must be signed in to change notification settings

Fancazista/ox_lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 57.1%
  • TypeScript 42.3%
  • Other 0.6%