Installation
Overview
Universal abstraction layer for the ML Series. ml_bridge auto-detects your framework, inventory, target system, and 9 other subsystems, exposing a single unified API for all ML scripts. It also provides a multi-provider logging engine and a DUI-based 3D waypoints system.
Quick Start
- Download from CFX Portal
- Extract to your
resourcesfolder asml_bridge - Add to
server.cfg:
server.cfg
1ensure ox_lib
2ensure ml_bridgeLoad Order
ml_bridge must start BEFORE any ml_* script that depends on it.
Database
No Database
ml_bridge does not create any database tables. It is a stateless abstraction layer.
Verify
After starting, the console will print:
lua
1[ml_bridge] Detection Results:
2 Framework: qbox
3 Inventory: ox
4 Target: ox
5 Notify: ox
6 ...
7[ml_bridge] Server bridge readyEach detected system is printed with its resolved provider. If Config.Debug = true, additional debug output is shown.
- Script not starting. Ensure
ox_libis loaded beforeml_bridge. - Detection shows
unknown: The target resource is not started. Check your ensure order. - ML scripts fail to load,
ml_bridgemust be ensured before anyml_*script.