mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
f59beb2af6403975056a237e3c4573b7287248ca
MarkerType alias was replaced for an enum. The type property in MarkerProps class is now optional, MarkerType or an integer (UpsideDownCone if missing). The properties inside color are now defined as integers. Added invert property, documented by CFX as drawOnEnts. Added marker_mt metatable that stores default properties and draw method. Signed-off-by: Sergio <89666307+feelfreetofee@users.noreply.github.com>
ox_lib
A FiveM library and resource implementing reusable modules, methods, and UI elements.
For guidelines to contributing to the project, and to see our Contributor License Agreement, see CONTRIBUTING.md
For additional legal notices, refer to NOTICE.md.
📚 Documentation
💾 Download
https://github.com/communityox/ox_lib/releases/latest/download/ox_lib.zip
📦 npm package
https://www.npmjs.com/package/@communityox/ox_lib
🖥️ 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"
Description
Languages
Lua
62.5%
TypeScript
35.6%
CSS
1.7%