Skip to content

np_hud v0.1.0 ​

A FiveM HUD built on the Nimbus UI design system: glossy grey squircle tiles, frosted glass lit from above, and Quicksand type.

It covers status tiles, voice, street and compass, a glass frame around the native minimap, a vehicle zone (speedometer, fuel, engine, seatbelt, with own panels for helicopters, planes and boats), a weapon card, toasts with key actions, interaction prompts, progress bars and server theming from one brand colour.

In a vehicle On foot
In a vehicle On foot
Theme: blue, tiles Theme: violet, glass
Blue tiles theme Violet glass theme

At a glance ​

  • Nothing is required: no database, no framework, no streamed assets.
  • Frameworks: qbx / qb / esx, auto-detected, or standalone.
  • Voice: pma-voice / saltychat / yaca, auto-detected, or none.
  • Fuel: np_fuel, ox_fuel, LegacyFuel, cdn-fuel, ps-fuel, or the native fuel level. With np_fuel, electric vehicles show a battery tile and "Low battery".
  • Replaces your framework's notify and progress bar, through exports or a few-line patch.
  • Performance: each loop runs only while it has something to do (the vehicle loop only in a vehicle, the weapon loop only while armed).

Vehicle panels ​

The bottom-right panel follows the vehicle class. Cars, bikes and everything else keep the speedometer and six indicators. Helicopters, planes and boats add a middle instrument column, swap the indicator set and show speed in knots (Config.Vehicle.knots).

Helicopter Plane Boat
Helicopter panel Plane panel Boat panel
Kind Middle column Indicators Alerts
Helicopter Attitude ball, altitude, climb rate Fuel, engine, rotor health, searchlight, hover hold, lock Low fuel, engine damaged, "Rotor damaged", "Hover hold"
Plane Attitude ball, altitude, climb rate Fuel, engine, landing gear, lights, autopilot, lock "Pull up!", "Gear up!", low fuel, engine damaged
Boat Heading dial, water depth Fuel, engine, anchor, lights, hull health, lock "Hull damaged", low fuel, engine damaged, "Anchored"

On planes and boats the inner arc shows the throttle. Boats show F / N / R instead of a gear number. The hover-hold and autopilot tiles light up from state bags that other scripts set (see Integration).

Standalone vs framework ​

Standalone With qbx / qb / esx
Health, armour, stamina, oxygen ✓ ✓
Voice, street, compass, clock, weather, players ✓ ✓
Vehicle, weapon, notifications ✓ ✓
Money, job – ✓
Hunger, thirst – ✓ (ESX needs esx_status)
Stress – qbx / qb, ESX only with a stress status

Quick example ​

lua
exports.np_hud:Notify('Saved', 'Your outfit was saved.', 'success', 3000)

exports.np_hud:ShowPrompt({ id = 'atm', icon = 'credit-card', keys = { { key = 'E', label = 'Use ATM' } } })

local ok = exports.np_hud:Progress({ label = 'Lockpicking', icon = 'unlock-keyhole', duration = 5000 })

Next steps ​