Installation
Dependencies
Section titled “Dependencies”Both must start before this resource:
| Resource | Used for |
|---|---|
ox_lib |
Keybinds, notifications and the menu’s callbacks |
oxmysql |
Saving each player’s layout |
Install
Section titled “Install”-
Copy the
hudfolder into yourresourcesdirectory. -
Add it to your
server.cfg, afterox_libandoxmysql:ensure hud -
Start the server, join, and type
/hud.
Database
Section titled “Database”There is nothing to import. The hud_presets table is created on first start, and holds
one row per player: widget positions, colours and opacity.
Framework detection
Section titled “Framework detection”The HUD works out which framework is running on its own — Qbox, QBCore, ESX, or none at all. You do not tell it which one you use.
On a standalone server the framework-fed widgets (job, wallet, hunger, thirst) stay dark until you feed them yourself. See Exports.
- Point the HUD at your other scripts — fuel, inventory, notifications, voice, phone: Integrations.
- Everything else is set in game: The /hud menu.