How to make a custom FiveM HUD

A FiveM HUD is a small web page drawn over the game, plus a client script that sends it numbers: speed, fuel, health, hunger. You can write both by hand, or design the HUD on screen and download the finished resource. This guide shows the second way and explains what each part does.

  1. 1Decide what the HUD shows

    Most servers want a speedometer and fuel in a car, and health, armour, hunger, thirst and voice on foot. Leave out anything players do not act on: a small HUD that is easy to read beats a full one.

  2. 2Lay it out

    Open the HUD Creator and drag each part to where you want it on the 16:9 stage. Keep the centre of the screen clear and put driving parts near the bottom, where the eye already goes.

  3. 3Style it to match your server

    Set colours, shapes and fonts on the Style tab so the HUD matches your loading screen and logo. The preview runs the same page the game will show and feeds it changing values, so you see how it moves, not just how it looks standing still.

  4. 4Pick the framework

    Choose QBCore, ESX, Qbox or standalone, or leave it on auto and the resource works out the framework when the server starts. Hunger and thirst come from the framework. Fuel can be read from the game or from common fuel scripts such as LegacyFuel and ox_fuel.

  5. 5Hide the GTA HUD and set the minimap

    The Map tab moves, scales and zooms the minimap, can make it round and can hide its own health and armour bars, so they do not show twice. The exported config.lua also lists which parts of GTA\'s own HUD to hide.

  6. 6Install and test

    Download the resource, put the folder in resources and add ensure with its folder name to server.cfg. Stop your old HUD first, or you will see two. Test on a dev server: get in a car, take damage, eat and drink, and check each part reacts.

  7. 7Fine-tune on the server

    Positions, colours and which parts are on stay editable in config.lua, so small changes do not need a new download. For a bigger redesign, open your saved design in the HUD Creator and export again.

Match the rest of the server to it: make a loading screen, design an inventory in the Inventory Builder or add map blips.