Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

Roda Modern Hud for FiveM

By RPScripts

Illustration of a sleek HUD on a monitor with round health, armor and thirst gauges and a speedometer arc
On this page

A free player HUD for ESX and QBCore servers, released on the Cfx.re forum in January 2022. It shows status bars, vehicle info, voice/radio, weapon, money, a unique player ID and the player count. The author offers it free on GitHub, with an optional pay-what-you-want Tebex package to support them; the forum post says the support is the same either way.

Features

  • Health, armor, hunger, thirst, stamina and oxygen
  • Car HUD
  • UID (unique ID) system
  • Voice and radio HUD
  • Weapon HUD
  • Cash and bank display; style change
  • Seatbelt and engine on/off commands

Requirements

  • Framework: ESX, QBCore
  • es_extended or qb-core, started before the HUD
  • On ESX: esx_status for hunger and thirst
  • For the UID system: mysql-async, oxmysql or ghmattimysql and the Sql.sql table

When the client loads, it checks GetResourceState("es_extended") and then GetResourceState("qb-core"). If neither is started at that moment, it prints a console message and the HUD logic does not run. The repository's last commit is from 22 January 2022 and it has no licence file, so if you need a HUD that is still maintained, compare it with other FiveM player HUDs first. In the forum thread the author wrote that you can edit the HUD as you want, but not resell it.

Download

Roda Modern Hud by NearTV (Roderic Aguilar / RodericAguilar) is free. Download it from the creator's original Cfx.re forum release: https://forum.cfx.re/t/free-esx-qbcore-roda-modern-hud/4800331

That post links the code in the RodericAguilar/Roda_ModernHud repository on GitHub.

Preview video: https://www.youtube.com/watch?v=ZbfF0_t4Dfo

Installation

  1. Download the repository and place the folder in your server's resources directory as Roda_ModernHud. The design switcher posts to https://Roda_ModernHud/real and https://Roda_ModernHud/animado, so a different folder name breaks it.
  2. If you keep the UID system, import Sql.sql, which creates the roda_modernhud table.
  3. The manifest loads @mysql-async/lib/MySQL.lua with the comment "If you use qbcore, just delete this". If you remove that line, set Config.Database to oxmysql or ghmattimysql, or set Config.UseRodaUID = false.
  4. Add ensure Roda_ModernHud to server.cfg after the framework and database resources, then restart the server.

The README only says to read all of Config.lua.

Configuration

Config.lua holds every option: Config.MaxPlayers (32, shown next to the online count), Config.CommandHud 'hud' on Config.HudKey 'CAPITAL', Config.BeltCommand 'cinturon' on key K, Config.BatteryCommand 'motor' on F4, Config.CommandDesign 'changedesign', Config.UseRodaUID, Config.Database, Config.Identifier (license, steam or discord) and Config.StatusUpdateInterval (2000 ms). The ESX hunger and thirst lookup is the GetStatus function in the same file; on QBCore the HUD listens for hud:client:UpdateNeeds. The voice icon uses the native NetworkIsPlayerTalking. The radio icon only changes when another resource triggers ModernHud:RadioOn; nothing in this resource does.

What to check before going live

  • The car HUD appears in vehicles; one forum user reported that it did not show.
  • The minimap is sharp and correctly sized; replies report a blurry or blank map and a map that is too big.
  • The north marker turns; one reply notes that the JavaScript does not listen for the rotation.
  • Hunger and thirst update on your framework. There is no stress display.
  • A player keeps the same UID after reconnecting, and the roda_modernhud table fills.