Odometer
The Odometer system provides a detailed in-vehicle status HUD, showing real-time health indicators, safety equipment, lighting status, mileage, and NOS information. It supports both visual indicators and optional numerical health values.
Features
Shows condition of:
Engine, body, axle, oil, spark, fuel, battery, tyres
Displays:
Seatbelt & harness status
NOS level or purge state
Headlights, underglow, door state, manual mode, anti-lag
Live mileage tracking (format:
000000
)Damage visibility logic (only show when under threshold or always-on)
Can restrict visibility to only driver or show certain icons to passengers
Integration with
ExtraDamageComponents
for deeper damage displayCustomizable icon glow, positioning, color, and styling
Modular NUI messages for each icon with full canvas customization
Configuration (in Config.Odometer
)
Config.Odometer
)Commands
/showodohud
— Show odometer HUD/hideodohud
— Hide odometer HUD
Notes
Function:
updateVehicleHUD(distance, vehicle, plate, model, distAdd, seat)
Uses
areTablesEqual()
to reduce HUD update spam
Last updated