T2 // Interface & NUI

coe_hud

Tactical HUD & Body Indicators

Minimalist Micro-Indicators, Vector Speedometer & 3D Voice Display

MOSTRADOR REAL // SIMULAÇÃO INTERATIVA
VELOCÍMETRO FIVEM ENHANCED
075 KM / H 3
🛡️ 💡 ⛽ ⚠️
Controle de Velocidade: Arraste para acelerar
01 // OVERVIEW

Discreet, tactical in-game HUD. Displays minimalist micro-gauges for health, armor, stamina, hunger, thirst, stress, radio, and voice range. Entering any vehicle smoothly slides in the vector speedometer showing km/h, gear, fuel level, and headlights.

On FiveM Enhanced

Hardware-accelerated DX12 rendering running at 120+ Hz with zero latency desync against native velocity and player physical states.

02 // FEATURES

What the module delivers

01

Tactical Micro-Gauges

Discreet icons that pulse in subtle warning tones when health or stamina runs low.

02

Vector Speedometer

Sports styling featuring analog fuel level gauges and numerical gear indicators.

03

Voice & Radio Indicators

Real-time visual feedback of voice whisper/normal/shout range and active radio channels.

04

Freedom of Customization

Players can reposition, scale, or toggle individual HUD modules.

ARCHITECTURAL LAYERS // CLEAN ARCHITECTURE

4-Layer Isolation with 0.00 ms Idle

Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:

L4
Presentation & NUI
HTML5 · CSS tokens · CoE UI
CEF DX12
L3
Application & Server
Atomic locks · Rate limiting
Auth Server
L2
Platform & HAL
Core.Platform · Mock natives
Gen9 HAL
L1
Domain & ACID Database
Prepared SQL · MariaDB pool
ACID Pool
LAYER 04 // PRESENTATION & NUI

Responsive NUI & CoE UI Design System

Built with vanilla HTML5, CSS3 tokens, and modern JavaScript. No heavyweight frameworks (React/Vue/Electron). Rendered directly in FiveM DX12's Chromium Embedded Framework at 0.00 ms while closed.

Five themes supported in real time through CSS variables (--coe-accent, --coe-surface)
Fully keyboard-navigable (Tab, Esc, Enter) and ARIA-accessible
Secure asynchronous communication with the FiveM client via fetch("https://...")
ADMIN POWERS // OPERATION & MANAGEMENT

What this script delivers to Server Owners

Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:

🧭
Layout editor
Opens the HUD element position editor.
/hud
🎨
Server logo
Shows or hides the server logo on the HUD.
exports.coe_hud:SetLogoVisible(visible)
👁️
Cinematics & Hiding
Hides the HUD for recordings, screenshots or cutscenes without unloading the resource.
exports.coe_hud:SetHidden(reason, hidden)
03 // EXPORTS

Public API 5

Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.

exports['coe_hud']:SetHidden(reason, hidden) → boolean

Hides or shows the HUD based on reason tokens. Use your resource name as the reason; the HUD remains hidden until all active suppressions are cleared. Also available via local event `coe_hud:setHidden`.

ParameterType
reasonstring
hiddenboolean
LUA
local result = exports['coe_hud']:SetHidden(reason, hidden)
exports['coe_hud']:IsHidden() → boolean

Returns whether the HUD is currently suppressed by any active reason.

No parameters.

LUA
local result = exports['coe_hud']:IsHidden()
exports['coe_hud']:SetLogoVisible(visible) → boolean

Shows or hides the server brand logo (persisted player preference).

ParameterType
visibleboolean
LUA
local result = exports['coe_hud']:SetLogoVisible(visible)
exports['coe_hud']:IsLogoVisible() → boolean

Returns whether the server logo is currently visible per player preference.

No parameters.

LUA
local result = exports['coe_hud']:IsLogoVisible()
04 // COMMANDS

In-game commands 6

[B]

Vehicle: seatbelt · coe_hud_belt · rebindable in FiveM key bindings

[H]

Vehicle: headlights · coe_hud_lights · rebindable in FiveM key bindings

[LEFT]

Vehicle: left indicator · coe_hud_left · rebindable in FiveM key bindings

[RIGHT]

Vehicle: right indicator · coe_hud_right · rebindable in FiveM key bindings

/hud

Opens or closes the HUD layout editor.

/logo

Shows or hides the server logo on the HUD.