Sergio f59beb2af6 feat(imports/marker): Added invert property (#4)
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>
2025-05-04 17:59:18 +02:00
2025-05-02 15:44:52 +02:00
2025-05-02 16:21:02 +02:00
2022-11-24 17:02:03 +11:00
2025-05-02 14:32:43 +00:00
2022-07-05 05:17:52 +10:00
2025-03-29 22:02:36 +11:00
2025-05-02 15:44:52 +02:00

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

https://coxdocs.dev/ox_lib

💾 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
No description provided
Readme 5.7 MiB
Languages
Lua 62.5%
TypeScript 35.6%
CSS 1.7%