FAQ

General

Does HZ-AudioMixer stream any custom sounds?

No. HZ-AudioMixer doesn't stream, play, or modify any sound files. It controls the native GTA V audio categories that the game itself uses. Zero file size impact, zero conflicts with other audio resources (xSound, interact-sound, etc.).

Will it interfere with my voice chat (pma-voice / saltychat / mumble)?

No. The mixer only changes 9 GTA V sound categories, and voice chat is in none of them. You can still talk and hear other players exactly as before, at the volume set by your voice resource. What the mixer does for voice chat: lowering Weather, Weapons or Vehicles makes voices easier to hear.

Does it work on standalone / vMenu / vanilla servers?

Yes. No framework required. The script auto-detects nothing because it doesn't need anything. Its only dependency is hz_lib (free).

Do I need a database?

No. Player settings are saved client-side via FiveM KVP (Key-Value Persistence). Each player's preferences live on their own machine and persist across server restarts and reconnects.

Does it support QBCore / QBox / ESX?

Yes. All frameworks supported — but the script doesn't actually use any framework features. It just works.

UI & Customization

Can I edit the UI design?

Yes. The html/ files (index.html, style.css, app.js) are intentionally outside Asset Escrow. The panel is built on the hz_lib UI kit: colours and fonts come from your hz_lib theme (/hzpanel), the layout is in style.css, groups and order in app.js. Only the audio engine logic (client.lua) and shared/locale.lua are encrypted. See Configuration.

Can I add my own sliders inside my pause menu?

Yes. HZ-AudioMixer exposes a complete API (getCategoriesData, setVolume, volumeChanged event) so you can build your own sliders inside any custom NUI. See Exports & Events for full integration examples.

Can I disable specific categories?

Yes. Set Config.Categories.<category> = false and the slider disappears from the UI and the audio scene patch is skipped. See Configuration.

Can I add my own translations?

Yes. Drop a locales/<code>.lua file in the resource. Use any existing locale as a template. 14 languages are included by default.

Can I change the keybind?

Yes — by both you (server-wide default) and each player individually. Server default lives in Config.OpenKey (default F7). Each player can rebind it in the FiveM pause menu (Settings → Keybinds → FiveM → "Open HZ Audio Mixer", in the language set by Config.Locale).

Technical

What audio categories does it control?

9 RAGE engine categories : weapons, vehicles, ambience, weather, speech, peds, scripted, music, radio. These are parent categories — adjusting vehicles affects engines, horns, sirens, helicopters, etc. all together. See the category list for what each one holds.

Not on any channel: voice chat, sounds played by NUI scripts (xSound, interact-sound), crashes and other collisions, mission music, interface and menu sounds, cutscenes, doors, fire, water and animals.

Does it work with custom audio mods (vehicle sound packs, weapon sound mods)?

Yes. As long as the custom sounds are routed through the standard RAGE audio categories (which they always are for gameplay sounds), they'll respond to the mixer.

Does it affect the radio music in vehicles?

Yes. The radio slider controls the vehicle radio and the radios placed in the world (buildings, clubs). In the game, radio sits inside music (the game score): the two volumes multiply, so Music at 0% also mutes the radio.

Will my players' settings reset when I restart the server?

No. Settings live in FiveM KVP on the client machine. They survive resource restarts, server restarts, and disconnects.

What happens on first connection?

Each category defaults to Config.DefaultVolume (100 = full volume). Players see the mixer with all sliders at 100% on first launch.

What if a player has no sound after spawning?

On spawn, the script starts its audio scene, re-applies the saved volumes every frame for 15 seconds, then every 500 ms. If a sound is still missing, ask the player to press F7 and check that slider is not at 0% (and Music, for the radio).


Performance

Is it heavy on FPS?

No. UI closed = 0.00ms. UI open = <0.05ms. Audio engine background = <0.02ms. Tested on 32-player, 200+ resource servers with zero FPS impact.

Does it run on the server?

No server-side logic. Everything runs client-side. Each player's settings are local to them.

Does it conflict with other audio scripts?

No. The mixer only drives its own audio scene on the RAGE audio categories. It doesn't touch any other sound resource or audio submix, and it coexists with any other audio script.

Security & License

Is the script protected against theft?

Yes. The audio engine logic (client.lua) is encrypted via FiveM Asset Escrow.

Can I share it with my friend's server?

No. Single-server license. Reselling, redistributing, or sharing the source is prohibited. Asset Escrow violations are tracked and reported.

Will it work on a Tebex shared server?

The script binds to your CFX/Keymaster account. If your shared server uses your account, it works. If it uses someone else's, no.


Troubleshooting

The audio scene does not start

Set Config.Debug = true: after spawning, F8 should print [HZ-AudioMixer] Scene active. If it never does, the dat15.rel / dat151.rel didn't load on time. Verify :

  1. The audioconfig/ folder exists in the resource
  2. data_file 'AUDIO_DYNAMIXDATA' and data_file 'AUDIO_GAMEDATA' are in the fxmanifest.lua
  3. Restart the whole server (not just restart hz_audiomixer) — audio data files require a clean session start to register

F7 conflicts with another resource

Open Pause Menu → Settings → Keybinds → FiveM → Search "Open HZ Audio Mixer" → Rebind to a free key.

The mixer opens but moving sliders doesn't change anything

The audio scene didn't start: see "The audio scene does not start" above.

A sound stays silent

Saved volumes follow the player from one session to the next. Open the mixer with F7 and check that the slider is not at 0%. For the radio, check Music too. Press R twice to put every channel back to Config.DefaultVolume.


Next Step