Orbit StudiosOrbit Studios
Orbit Studios Resourcesorbit-dynamichud-addons

Installation

Install the standalone seatbelt and cruise control addon for orbit-dynamichud.

Installation

orbit-dynamichud-addons is a standalone seatbelt and cruise control resource adapted for orbit-dynamichud. It uses ox_lib keybinds, locale files, DynamicHUD notifications, and client state bags.

Support note

This addon is adapted from QBX GPL resources and is provided as-is. Keep the GPL attribution and license with the resource if you redistribute or modify it.

Install this resource when you want Orbit's seatbelt and cruise-control states to feed directly into DynamicHUD. If your server already has seatbelt or cruise control, you can skip this addon and instead make your existing resource set the same state bags described in the exports page.

File Structure

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

What You Edit

Most configuration lives in resources/[orbit]/orbit-dynamichud-addons/config.lua. This is where you change keybinds, enable or disable cruise and seatbelt behavior, adjust crash thresholds, and replace the notification function if you do not want to use orbit-dynamichud:notify.

Installation

server.cfg
ensure ox_lib
ensure orbit-lib
ensure orbit-dynamichud
ensure orbit-dynamichud-addons

After installing, sit in the driver seat and toggle the seatbelt key once. DynamicHUD should react to LocalPlayer.state.seatbelt. Then start driving forward and test the cruise key from the driver seat.

Framework Notes

The addon is framework-light. Keep the DynamicHUD notification bridge or replace it with your ESX notification wrapper.

The addon is isolated from QB/QBX core requirements. If you use a custom harness system, update LocalPlayer.state.harness.

The source is adapted from QBX seatbelt and cruise resources, but normal QBX startup requirements were removed.

The addon does not require framework player data. Keep ox_lib started before it and use Config.Notify if you need to replace the DynamicHUD notification event.

On this page