[Release] [Standalone] vanta_hud: RP HUD with custom minimap and GPS

Vanta_hud

A standalone roleplay HUD for FiveM. Everything is adjustable in game, no file editing needed. Available in English and French.

Features

  • Custom minimap and full-screen map rendered in WebGL (local atlas), custom blips, GPS on foot and in vehicles, one click sets the waypoint
  • Vehicle gauge (speed, gear, RPM, fuel, seatbelt) and alerts: fuel, engine, body, burst tyre
  • Health, armour, hunger, thirst, stamina, oxygen, voice and radio
  • Compass (heading, cardinal points, street), cash and job
  • Weapon HUD: name, icon, magazine, reserve, reload / empty states; the native ammo counter is hidden
  • Quick menu replacing Esc/P, 3 interface profiles, cinema mode
  • Drag-and-drop placement editor, themes, scale, opacity

Screenshots

hud-vehicle

on foot
map
quick menu
interface settings
placement editor

Requirements

None. No ESX, QBCore, inventory or phone required. Hunger/thirst and cash/job are optional: set Config.Framework to esx, qb (QBCore/QBox) or auto, or call the exports from your own code.

Installation

  1. Put vanta_hud in resources/
  2. Add ensure vanta_hud to server.cfg
  3. Restart the server

Language: Config.Locale = 'en' or 'fr'.

Exports (client)

exports.vanta_hud:SetNeeds(hunger, thirst)
exports.vanta_hud:SetEconomy({ cash = 1200, bank = 8000, job = 'Police', grade = 'Sergeant' })
exports.vanta_hud:SetVisible(true)
exports.vanta_hud:Notify({ message = 'Hello', kind = 'info' })

Performance

About 0.04 to 0.06 ms in resmon on my ESX Legacy server; results vary with your setup.

Known limitations

  • The ESX adapter comes from code that ran on ESX Legacy; the QBCore/QBox adapter is written from the public API and is not validated in game yet.
  • stream/minimap.gfx (a modified GTA file) is not included. The HUD works the same without it; it only swaps blip symbols on the native radar.

Links

License

MIT for the original code and icons. Barlow Condensed under SIL OFL. Weapon icons from ox_inventory (GPL-3.0 or later). Rockstar Games elements remain with their rights holders. See THIRD_PARTY.md.

Feedback, bug reports and pull requests are welcome.

1 Like