ps-hud

A more informative driving and player HUD.

Version
v2.1.2
Updated
Jul 19, 2026
License
GPL-3.0
View ps-hud resource View files on GitHub
Browse documentationps-hud
Sections
01 / OVERVIEW

Overview

This modified version of ps-hud requires QBCore. The HUD (the information shown on screen) includes DrSnyder's vehicle dashboard, weapon and ammo display, money alerts, ox_fuel support, and harness checks through ox_inventory. It is not designed for Qbox on its own.

02 / REQUIREMENTS

Requirements

Framework
QB-Core
Fuel
Native vehicle fuel level; compatible with ox_fuel
Required script
ox_inventory to check whether the player has an active harness
UI
Compiled Svelte interface included
Resource name
Must remain ps-hud
03 / INSTALLATION

Installation

  1. Place ps-hud in your designated resources folder without renaming it.

  2. Ensure QB-Core is current and starts before ps-hud.

  3. Review Config.UseMPH, Config.CustomHud, and Config.AdminOnly in config.lua.

  4. Start ps-hud, then review the icon settings and vehicle behavior in-game.

04 / CONFIGURATION

Configuration

01

How the HUD reads fuel

This fork reads FiveM's native vehicle fuel level, which works with ox_fuel when it synchronizes that value. The inherited Config.FuelScript setting does not change the active fuel reader by itself.

02

Choose speed units

Config.UseMPH changes the speed calculation. Changing the displayed unit text also requires UI work; rebuilding from svelte-source is safer than editing the compiled interface directly.

03

Enable the added HUD modules

Review the vehicleName, weaponAmmo, and money options under Config.CustomHud, then decide whether customization should be restricted through AdminOnly.

04

Keep the included interface files

The html folder is ready to use. The svelte-source folder is only for changing the interface and does not need to be rebuilt for a normal installation.

05 / USAGE

How to use and test it

First-run checklist

Join after the framework and HUD have started, enter a vehicle, equip a weapon, change cash or bank values, and verify the player, vehicle, weapon, and money displays independently.

Commands
/menu
/resethud

Preserve optional audio feedback

Start InteractSound before ps-hud if your configuration uses its menu, belt, or alert sounds.

06 / DIFFERENCES FROM UPSTREAM

Differences from upstream

Framework
QB-Core required
Harness inventory
ox_inventory runtime export
UI source
Compiled html plus editable svelte-source
Fuel reading
Native FiveM vehicle fuel level
01

Vehicle, weapon, and money displays

The drs_Dev fork rebuilds the vehicle cluster and adds weapon-ammunition plus cash and bank presentation while retaining the Project Sloth customization foundation.

02

OX-oriented runtime behavior

The active fuel path reads FiveM's native vehicle fuel level for ox_fuel compatibility, and harness detection calls ox_inventory directly.

07 / KNOWN LIMITATIONS

Known limitations

01

This is not a native Qbox HUD

The manifest imports qb-core locale data and runtime code calls qb-core. Use a compatible QB exposure on Qbox only after validating every dependent path.

02

Some settings require UI work

Config.UseMPH changes the speed calculation, but the displayed unit text may still require rebuilding from svelte-source. Config.FuelScript does not select the active fuel reader.

03

Admin UI saves need a writable resource

The admin-only save path writes uiconfig.lua at runtime. Confirm the deployed resource directory permits the intended write or manage the file outside the game server.

08 / UPDATING

Updating

01

Compare Project Sloth updates manually

Back up config, uiconfig, compiled html, and svelte-source before merging upstream work. Replacing the fork with an upstream archive removes the drs_Dev vehicle, weapon, money, and OX changes.

09 / TROUBLESHOOTING

Troubleshooting

The HUD does not initialize
Checks

Keep the resource folder named ps-hud, update qb-core, and confirm qb-core starts before the HUD.

Harness detection is missing
Checks

Confirm ox_inventory is started and the harness item exists. This edition checks the item count through ox_inventory.

Fuel is not updating
Checks

Confirm the fuel resource starts before ps-hud and synchronizes FiveM's native vehicle fuel level. Config.FuelScript does not select the active reader in this fork.

Two HUD elements overlap
Checks

Disable the equivalent stock or third-party HUD element so only one resource owns each vehicle, weapon, money, or minimap surface.

10 / REFERENCE

Reference

  • This repository is a modified Project Sloth ps-hud fork.
  • Keep upstream attribution and the GPL-3.0 license when redistributing modifications.