Installation

1 min readUpdated 5 days ago

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

  1. Download from CFX Portal
  2. Extract to your resources folder as ml_bridge
  3. Add to server.cfg:
server.cfg
1ensure ox_lib
2ensure ml_bridge
Load 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 ready

Each detected system is printed with its resolved provider. If Config.Debug = true, additional debug output is shown.

  • Script not starting. Ensure ox_lib is loaded before ml_bridge.
  • Detection shows unknown: The target resource is not started. Check your ensure order.
  • ML scripts fail to load, ml_bridge must be ensured before any ml_* script.
Bridge Installation — FiveM Docs | Micio Mods