CfxLua
CfxLua provides a lightweight standalone interpreter for the CfxLua dialect that powers FiveM server scripts. It executes code in milliseconds without requiring a full FXServer, license key, or server.cfg.
Built on LuaGLM 5.4, the runtime delivers complete server-side parity for vectors, the scheduler, events, exports, statebags, convars, JSON, and msgpack. Developers can test scripts locally with identical behavior to a live server environment.
- Full LuaGLM 5.4 support including vec2/3/4, quat, and matrix types
- Scheduler with CreateThread, Wait, and Citizen timeouts
- Complete event system and export proxy tables
- Convar handling and msgpack/JSON utilities
- Resource context emulation for GetCurrentResourceName