mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
df7a6b9c21ffa1c9af63455b3feb405e8e8395b6
- The refactor in [Commit4c460e0](4c460e0bd9) introduced stricter type checks (using table.type and array length comparison), which caused empty tables and tables with nil values to be considered unequal. - This commit removes the strict shape checks and restores the original deep equality semantics, ensuring {} == {x=nil}. Signed-off-by: RuksH4n <77233680+rukshanchamindu@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 IntelliSense 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%