Orbit StudiosOrbit Studios
Orbit Studios Resourcesorbit-dynamichud-addons

Installation

Install Orbit DynamicHUD Addons for standalone seatbelt and cruise-control integration.

Orbit DynamicHUD Addons

Orbit DynamicHUD Addons provides standalone seatbelt and cruise-control behavior tailored for DynamicHUD. It uses ox_lib keybinds and locales, publishes client state bags, and can send notifications through DynamicHUD or a custom client function.

GPLv3 open-source resource

This addon is adapted from QBX GPL resources and is distributed under GPLv3. Keep the included license, source availability, and original QBX attribution when modifying or redistributing it.

If your server already has seatbelt or cruise control, you can skip this addon and make the existing resource publish the compatible states documented under Exports and Events.

Installation

  1. Download or clone orbitstudiossoftware/orbit-dynamichud-addons.
  2. Stop the server and extract the folder as orbit-dynamichud-addons.
  3. Install ox_lib and Orbit Dynamic HUD 2.0.
  4. Review config.lua, especially enabled systems, keybind defaults, speed thresholds, harness behavior, and Config.Notify.
  5. Start the addon after ox_lib and DynamicHUD.
  6. Restart the server or reconnect the test client after changing default keybinds.
server.cfg
ensure ox_lib
ensure orbit-lib
ensure orbit-dynamichud-v2
ensure orbit-dynamichud-addons

Resource structure

fxmanifest.lua
config.lua
cruise.lua
seatbelt.lua

Normal setup lives in resources/[orbit]/orbit-dynamichud-addons/config.lua. Change keybinds, enable or disable cruise and seatbelt behavior, adjust ejection thresholds, and replace the notification function there. Keep the included GPL license and attribution files with the resource.

Framework setup

No ESX player bridge is required. Keep the DynamicHUD notification function or replace Config.Notify with a client-side ESX notification wrapper.

No QB-Core dependency is required. If an existing harness system owns harness state, make it update LocalPlayer.state.harness instead of running duplicate seatbelt logic.

The addon is adapted from QBX seatbelt and cruise resources, but its normal QBX core requirements were removed. Do not run overlapping QBX seatbelt/cruise resources at the same time.

No framework player data is required. Keep ox_lib started first and configure Config.Notify for whichever client notification interface your server uses.

First-run verification

  1. Confirm ox_lib, DynamicHUD, and the addon start without errors.
  2. Enter the driver seat and verify the seatbelt and cruise keybinds appear in FiveM settings.
  3. Toggle the seatbelt and confirm LocalPlayer.state.seatbelt and the DynamicHUD indicator update together.
  4. Drive forward in a supported vehicle, toggle cruise, and confirm LocalPlayer.state.cruise updates.
  5. Brake, reverse, leave the driver seat, and change vehicles to verify cruise disables correctly.
  6. Test buckled, unbuckled, and harness ejection thresholds in a safe test environment.
  7. Trigger one success and one unavailable notification and verify the active locale text.

Support

This GPL resource is provided as-is. For reproducible issues, include the client console error, relevant config values, vehicle class, current state-bag values, and clear reproduction steps when reporting through the GitHub repository. Do not remove the included license or original attribution.

On this page