Theme & native menu accent

Your theme, everywhere

HZ-PauseMenu follows the hz_lib theme cascade. Set your accent, corners and fonts once in the Apparence panel and the whole menu adopts them live, no restart. The menu has no colours of its own: without hz_lib it opens unstyled, and Config.Accent then only tints the native GTA V Settings menu.

Buy another HZ resource later and it picks up the same look on first boot — the theme is defined once, in one place.

Native GTA V Settings menu — accent sync

The GTA V Settings card opens the real Rockstar frontend, not a NUI. Its colours come from the game's HUD colour table, which HZ-PauseMenu recolours to your accent while the menu is open, then restores on close.

  • Applied on open and kept in sync if you change your theme while it's open.
  • Only the accent bits change (the title line and the sensitivity sliders) — the panels, controller diagram and text are hardcoded by Rockstar and stay untouched. It's an accent tint, not a full reskin.
Config.NativeMenuAccent = {
    Enabled = true,
    Indices = { 116 },   -- 116 = HUD_COLOUR_FREEMODE (title line + sliders)
    Debug   = false,
}
HUD colour replacements are global game state that survives a resource restart. HZ-PauseMenu restores them on menu close and on resource stop, so a normal reload stays clean. If an experiment ever leaves a colour stuck, fully restart the FiveM client to reset the HUD table.

Calibrating another element (optional)

116 covers the standard accent on most builds. If you want to tint a different element, set Debug = true and use the in-game probes to find its HUD index, then add it to Indices:

CommandWhat it does
/pmpreviewOpens the menu with your real accent applied + logs the accent hex.
/pmhud <index>Paints one HUD index magenta and opens the menu.
/pmhudrange <a> <b>Paints a range magenta — binary-search an element (yes/no).
/pmhudallPaints every valid index magenta (proves it's HUD-driven).
/pmhudclearRestores the HUD colours.
Narrow down with /pmhudrange (halve the range that stays magenta until one number remains), confirm with /pmhud <index>, add the winner to Indices, then set Debug = false.

Set Enabled = false to leave the native menu its default Rockstar blue.