Skip to main content
Complete installation and configuration reference for fnx-pvp-hud.
fnx-pvp-hud displays player health, armor, server ID, and optional server logos.

First installation

This resource does not use a database. You do not need to import an SQL file.

First setup

Edit settings/public/client/cfg.lua, choose the visible elements, set their positions, and replace the example logo. Restart the resource after saving. HUD positions are resolved by the NUI from the config. Supported anchors are top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, and bottom-right; every block also supports an { x, y } offset.

Client configuration

Main settings

Vitals

Server configuration

This resource has no settings/public/server/cfg.lua.

Shared files

The private shared file initializes internal values. It has no customer-facing keys.

Theme system

Colors are CSS strings. Hex values require #; transparent colors can use rgba(). Radii are pixels and fonts are CSS font-family lists.

Developer info

The current public client file exposes no exports or public events. Configure the HUD through ClientCfg.Hud; direct NUI messages are internal.

Common issues

Nothing is visible

Check the start order, ClientCfg.Hud.enabled, and the individual section’s enabled key.

The logo displays text

image is nil by default. Supply a valid NUI-accessible image; otherwise text is used.

A block is outside the screen

Restore the default position and offsets, then test custom values on multiple aspect ratios.

Updates are delayed

Reduce updateInterval moderately. Extremely low values create unnecessary client work.

Theme changes are ignored

Restart the resource and confirm every CSS color is a quoted Lua string with a valid format.

Common folders