A FiveM library and resource implementing reusable modules, methods, and UI elements.
For additional legal notices, refer to NOTICE.md.
This fork will drop support for JS and TS, and will be focused on Lua development only. It will also be used to add new features and bug fixes that are not present in the original repository. For ERROR!SM scripts, this will be the main library used for all our scripts.
https://overextended.dev/ox_lib
https://github.com/errorism-scripts/er_lib/releases/latest/download/er_lib.zip
- 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 er_lib into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path.
- e.g. "c:/fxserver/resources/er_lib"