Skip to content
FIVECRATE

FiveM Custom Engine Sounds: How to Add Them to Addon Cars

FiveM custom engine sounds, step by step: build the sound pack resource, write the AUDIO data_file lines, set audioNameHash in vehicles.meta, fix silent cars.

Mechanic checks a glowing audio waveform on a tablet beside the open engine bay of a tuned sports car
Author: FiveCrate
Published:
Updated:
Read time: 20 min
Applies to
FiveM Legacy servers (fxmanifest.lua resources, FiveM client and FXServer source as of 2026-11-20), any server, with or without a framework, with notes for FiveM for GTAV Enhanced
Last verified

Direct Answer

FiveM custom engine sounds are installed as a server resource. Copy the sound pack’s sfx/dlc_<name> folder (the .awc files) and its .rel files into a resource folder and list them under files in fxmanifest.lua. Then add one data_file line per item, with no wildcards: AUDIO_GAMEDATA, AUDIO_SOUNDDATA and, when the pack has an _amp file, AUDIO_SYNTHDATA, each with a path that ends in .dat instead of the full .rel file name, plus AUDIO_WAVEPACK with the dlc_<name> folder. Add an ensure line for the resource above your car resources in server.cfg, set <audioNameHash> in the car’s vehicles.meta to the pack’s audio name, and restart the server.

These steps are for FiveM Legacy and need no framework. To give an addon car one of the game’s own engine sounds, you need no sound pack: changing audioNameHash is enough. Notes for FiveM for GTAV Enhanced are near the end.

How a car gets its engine sound in FiveM

Each vehicle entry in vehicles.meta carries an <audioNameHash> line. A reply on the Cfx.re forum from May 2019 explains where that name leads: “these audioNameHash entries lead to entries in said game.datN.rel files”, the game’s audio data. The natives reference describes the native FORCE_USE_AUDIO_GAME_OBJECT in the same terms: it “sets the audio to the specific vehicle hash’s audioNameHash”.

One audio name covers more than the engine. A sample entry posted in that forum thread defines Engine, EngineGranular, Horns, DoorOpen, DoorClose and Sirens under a single name. When you change the name, all of them change together.

There are three ways to change what a car sounds like:

MethodWhat you editExtra filesWho hears it
Reuse a game vehicle’s soundaudioNameHash in the car’s vehicles.metaNoneEvery player
Install an addon sound packA sound resource, then audioNameHash.awc and .rel filesEvery player
Swap the sound from a scriptA client script that calls the nativeNone, or a sound pack for custom soundsOnly the clients that run the call

Players install nothing for the first two methods. The manifest reference says a file listed in the manifest is “to be downloaded by clients upon loading the resource”.

A sound mod that a player copies into their own game folder is something else: a modified client file. The server convar sv_pureLevel controls those. The Server Commands page describes level 1 as “Will block all modified client files except audio files and known graphics mods” and level 2 as “Will block all modified client files”.

Reuse a game engine sound: audioNameHash in vehicles.meta

If one of the game’s own engine sounds fits your addon car, edit one line.

  1. Open the car’s vehicles.meta in a text editor and find the <audioNameHash> line inside the car’s <Item>.
  2. Replace the value with the spawn name of a game vehicle. A how-to on the Cfx.re forum, started in 2017, changes police3 to dominator:
<audioNameHash>dominator</audioNameHash>
  1. Save the file, restart the server and spawn the car.

The official Vehicle Models reference lists each game vehicle with its Model Name, such as dominator for the Dominator.

Forum threads add three limits. None of them appears in the official documentation, so treat them as community reports:

  • DLC vehicles. The how-to’s author wrote in 2017 that most DLC vehicle sounds did not work. On FiveM Legacy, which DLCs a client loads depends on the game build: by default on current server builds, the Server Commands page says, the client loads only “the specific DLCs related to the game build specified in sv_enforceGameBuild”. Borrow from a vehicle that belongs to a build your server runs. The sv_enforceGameBuild guide covers that setting.
  • Sirens and horn. A user who switched a car to the monster truck sound found that it disabled the sirens. The answer in the thread: “sirens are bound to the vehicle sound by default”.
  • The game’s own cars. In a thread about vanilla vehicles, several users report that a changed audioNameHash works on addon vehicles but has no effect on the game’s own cars. One of them solved it by adding the game car again as an addon under a new model name. A post from April 2025 in the same thread reports a mixed result: the change took effect on one game car and not on another.

What is inside an addon engine sound pack

An addon pack brings its own recordings and its own audio name. Forum guides describe one layout again and again: a folder with .rel files, often called audioconfig, and an sfx folder that holds a dlc_<name> folder with the .awc files.

Part of the packExampledata_file typeOfficial Data Files page
Folder of .awc filessfx/dlc_mysound/AUDIO_WAVEPACK“Folder containing wave packs”
Game datamysound_game.dat151.relAUDIO_GAMEDATAExample file game.dat151.rel
Sound datamysound_sounds.dat54.relAUDIO_SOUNDDATAExample file sounds.dat54.rel
Synth data, only in some packsmysound_amp.dat10.relAUDIO_SYNTHDATAListed without an example

Three facts explain the table:

  • The game data file holds the audio name. The 2019 forum reply says such a file is loaded with a data_file entry, and that “you can only add new entries, not replace existing ones”. An addon pack therefore uses a name the game does not have.
  • The _amp file is synth data. Asked which type loads a file named m297zonda_amp.dat10.rel, the user nta answered in April 2021: “ModularSynth data files (like *amp.dat, version 10) are loadable using AUDIO_SYNTHDATA.”
  • Some packs ship .nametable files. A forum how-to that its author updated in April 2026 says: “All .rel and .nametable files should be in the same folder.” The manifests that Step 3 follows list only .rel and .awc files under files.

The Data Files page lists more audio types (AUDIO_CURVEDATA, AUDIO_DYNAMIXDATA, AUDIO_SPEECHDATA). The engine sound manifests quoted in this guide use only the four in the table.

How to install a FiveM car sound pack, step by step

With mysound standing in for your pack’s name, the finished resource looks like this:

resources/
  carsounds/
    fxmanifest.lua
    audioconfig/
      mysound_game.dat151.rel
      mysound_sounds.dat54.rel
      mysound_amp.dat10.rel
    sfx/
      dlc_mysound/
        mysound.awc
        mysound_npc.awc

Step 1: Create the resource folder

  1. Open the resources folder in your server data directory.
  2. Create a folder for the sounds, for example carsounds. The docs leave the name to you. If your cars sit in a category folder such as [cars], keep the sound folder outside it: Step 4 explains why.

A separate sound resource is a convention, not a requirement. The manifest reference’s own data_file example declares an AUDIO_WAVEPACK folder and the vehicle file myvehicles.meta in one manifest, so the audio folders can also live inside the car’s resource.

Folders, categories and ensure are explained in the addon cars guide.

Step 2: Copy the audio folders

  1. Find the audio files in the download. A forum walkthrough describes what to look for: a folder with the .rel files, and an sfx folder that contains a folder named like dlc_carname with the .awc files inside.
  2. Create two folders in the resource, audioconfig and sfx. Copy the .rel files into audioconfig and the whole dlc_<name> folder into sfx.
  3. Do not rename anything. The author of an example resource for add-on sounds puts it this way: “don’t use the name of the car, use the name of the audio files as you downloaded them”.

Step 3: Write fxmanifest.lua

  1. Create fxmanifest.lua in the resource folder.
  2. Paste this manifest and replace mysound with the names of your files. The walkthrough notes that the dlc_ folder and the .rel files of one pack can carry different names, so copy each name from the file or folder it stands for. The manifest follows working manifests posted on the Cfx.re forum:
fx_version 'cerulean'
game 'gta5'

files {
    'audioconfig/*.dat151.rel',
    'audioconfig/*.dat54.rel',
    'audioconfig/*.dat10.rel',
    'sfx/**/*.awc',
}

data_file 'AUDIO_SYNTHDATA' 'audioconfig/mysound_amp.dat'
data_file 'AUDIO_GAMEDATA' 'audioconfig/mysound_game.dat'
data_file 'AUDIO_SOUNDDATA' 'audioconfig/mysound_sounds.dat'
data_file 'AUDIO_WAVEPACK' 'sfx/dlc_mysound'
  1. Delete the lines for files you do not have. If the pack has no _amp file, remove the AUDIO_SYNTHDATA line. The forum walkthrough warns that when a referenced file is missing, “the game will crash on joining the server”.

Read the four data_file paths carefully, because they are not ordinary file paths:

  • The three .rel entries end in .dat. You write mysound_game.dat for the file mysound_game.dat151.rel.
  • The AUDIO_WAVEPACK entry is the folder, with no file name and no wildcard.
  • Every path starts at the resource folder, because the client puts the resource’s root in front of it.

The files block is different: those are real paths, and wildcards are fine there. The fxmanifest.lua guide explains fx_version and game.

If the download ships its own fxmanifest.lua, you do not have to type the audio lines. The forum how-to updated in April 2026 copies the data_file part of each add-on sound’s manifest into the manifest of the shared resource. Check that the folder part of each copied path matches where you put the files.

Step 4: Start the resource before your cars

  1. Add the resource to server.cfg. The example resource’s author says to ensure it before the car resource:
ensure carsounds
ensure mycar

If your cars start through a category line such as ensure [cars], that one line starts every resource in the [cars] folder, which leaves the order inside the folder out of your hands. With carsounds outside the folder, as in Step 1, put ensure carsounds above the category line.

  1. Restart the server, or type refresh and then ensure carsounds in the server console.
  2. Read the start line. FXServer prints Started resource carsounds, with a warning count when it found a problem. A file that is named in full under files but does not exist produces could not find file `<path>` (defined in fxmanifest.lua:<line>).

The start check has two gaps that matter for sound packs. A files pattern such as audioconfig/*.dat10.rel, where * begins the file name, gets no warning when it matches nothing, as long as the folder exists. And the check does not look at data_file paths: in FXServer’s source it covers only script entries and files. A clean start line does not prove that the audio lines are right.

Step 5: Point the car at the sound

  1. Open the vehicles.meta of the car that should use the sound.
  2. Set audioNameHash to the pack’s audio name:
<audioNameHash>mysound</audioNameHash>
  1. Restart the server and spawn the car.

The audio name is defined inside the pack’s game data file. The sample entry in the 2019 forum thread marks its <Name> with the comment “this is the audioNameHash you will use”. In the packs shown on the forum the files are named after it, so the advice there is to use the file name as it is written, or the sfx folder name without dlc_. The walkthrough from Step 2 warns that sound files can carry a different name than the car, so read the pack’s notes if the obvious name stays silent.

Two more points from the example resource’s author: cars that ship with their own sounds usually have the line set already, and the name should match upper and lower case as written.

Why the data_file paths do not match the file names

The reason is how FiveM hands these entries to the game. A reply by the user nta in an October 2021 bug report spells it out: data_file “is a hint to the game engine to read that file”, while files “is a hint to the server to send that to the client”. The reply continues: “not all data_file strings are real files”, with AUDIO_WAVEPACK as an example, “or the file may have a similar name, like AUDIO_GAMEDATA”.

FiveM’s client code uses the same short form. Where it mounts audio from the game’s own mptuner DLC pack, it registers the sound data as x64/audio/dlcTuner_sounds.dat and the wave pack as the folder x64/audio/sfx/dlc_Tuner_Music.

One official page points the other way. The Example column of the Data Files page shows x64:/audio/audio_rel/config/game.dat151.rel for AUDIO_GAMEDATA, the full file name, and the page gives no manifest line to go with it. In a manifest, the forum replies and the client code above all use the form that ends in .dat, and the crash message in the 2019 bug report further down names a path with the full file name.

Why wildcards fail in the audio data_file lines

The manifest reference says data_file “supports globbing in the filename field” and names no exception. For the audio types, the client source and the forum say otherwise:

  • Patterns only match files that exist. The client expands a data_file pattern to the matching files in the resource. A pattern such as audioconfig/*_game.dat matches nothing, because the real file ends in .dat151.rel.
  • A pattern that does match passes on the full file name. Each matched file is added under its real name, so audioconfig/*_game.dat151.rel gives the game a path that ends in .dat151.rel, not the short form that the working manifests use.
  • Folders never match. The matching function passes on files only, so a pattern for the wave pack folder returns nothing.
  • An empty match is silent. When a pattern with * matches nothing, no data file is added, and that code prints no message. Only an entry without * is passed on as written.
  • A wildcard for the folder alone fails too. In a 2023 forum thread, the line data_file 'AUDIO_SYNTHDATA' 'f136/audioconfig/f136_amp.dat' worked, and the same line with ** in place of the folder f136 did not.

In a 2019 bug report where wildcard lines for audio data crashed the client, the crash message named a path ending in gtr17_game.dat151.rel, and the reply was: “These entries are not directly related to physical files, so you can’t do this.” The author of the example resource reaches the same result: “As far as I can tell you cannot glob the data_files for audio.”

Several sound packs in one resource

You do not need one resource per sound. The example resource and the forum how-tos collect every pack in a single resource:

  1. Put all .rel files in audioconfig and each dlc_<name> folder in sfx.
  2. Add one block of data_file lines per pack. The files patterns stay as they are. The audio lines are written out for every pack: as one forum answer puts it, “you have to data_file each item 10,54,151 individually and the dlc_ file”.
  3. Remove a pack’s lines when you delete its files, as the walkthrough’s author reminds readers.

The order of the audio lines is not settled by any official page. Working manifests on the forum differ: one user reports success with “Wavepack, Gamedata, Sounddata, Synthdata” and adds “Not sure if it really matters”, while others list the synth data first and the wave pack last.

ForceUseAudioGameObject: change the engine sound from a script

The native behind engine sound scripts is FORCE_USE_AUDIO_GAME_OBJECT. The natives reference gives its signature as void FORCE_USE_AUDIO_GAME_OBJECT(Vehicle vehicle, char* gameObjectName) and lists two older names as aliases, _SET_VEHICLE_AUDIO and _FORCE_VEHICLE_ENGINE_AUDIO. In Lua that gives ForceUseAudioGameObject and, in older scripts, ForceVehicleEngineAudio. FiveM’s Lua native generator defines each alias as the same function, so both names call the same native.

A minimal client-side example from the forum registers a command that changes the sound of the car you are sitting in:

RegisterCommand("changesound", function(source, args, rawCommand)
    ForceVehicleEngineAudio(GetVehiclePedIsIn(PlayerPedId(),false),args[1])
end, false)

The code belongs in a client script, a file named in a client_script entry of a resource manifest. The author’s usage example is /changesound blista, and the same command takes the name of a sound from an installed pack. Per the native docs for RegisterCommand, you enter a command in the client console, or in chat with the / prefix when the server runs a supported chat resource.

The same docs note that the restricted flag “is not used on the client side”, so every player can run a client command like this one. Keep it on a test server.

What the native does not do is synchronise:

  • The example’s author writes that it “is not sync on server”: other clients do not hear the change unless the script triggers it for them too.
  • A 2022 feature request adds that a vehicle “that leaves scope and comes back in loses its effect”.
  • The user nta answered that request by pointing to “state bags and state bag change handlers”, and said that built-in replication “won’t be added as a base feature any time soon”.

State bags are key and value pairs attached to entities, available in state awareness mode (OneSync). The docs say that “state set from the server is replicated” by default, and a change handler added with AddStateBagChangeHandler is called on the client with the updated data. A synced script therefore stores the audio name in the vehicle’s state bag on the server and calls the native from that handler.

One example of this design is the Engine Sound Menu release on the Cfx.re forum, which “syncs to all clients via statebags” and lists ox_lib as its requirement. Its author notes that the chosen sound is “not persistent after a server restart or if the car is deleted”. To keep it, the author suggests saving it with the car’s mods in a garage system, which depends on your framework.

Custom engine sounds on FiveM for GTAV Enhanced

FiveM for GTAV Enhanced is in early access. For sound packs, the official pages give only indirect answers:

  • No listed change. The What’s Changed page lists no change to data_file entries or to audio.
  • stream_enhanced is not involved. On Enhanced that folder, when present, is loaded instead of stream. The sound pack layout in this guide has no stream folder: its files are sent through files.
  • Alchemist does not list audio. The converter’s supported file types are “YDR, YTD, YFT, YPT and YDD”. The Alchemist guide covers converting the car itself.
  • Scripts behave differently. On Enhanced, “State bags will only fire callbacks if the entity exists” and “Replicated values are only replicated if explicitly set”, which matters for synced sound scripts.
  • Pure mode. On Enhanced, pure mode “is now always enabled and can no longer be turned off”. That concerns sound mods in a player’s own game folder, not a server sound resource. The page does not say which pure level applies to audio files.
  • One game build. Enhanced “currently supports only the latest gamebuild (The Kortz Center Heist)” and loads it by default. The note on game builds in the section on borrowed game sounds describes FiveM Legacy.

None of the official pages read for this guide confirms that addon sound packs load on Enhanced. Try the pack on an Enhanced test server before you count on it.

Troubleshooting

The addon car has no engine sound

Work from the car outwards:

  1. Try a game sound on the car. Set audioNameHash to a game vehicle’s name. In two forum threads, silent addon cars had sound again with mamba and speedo. If that works for you, the car is fine and the fault is in the sound resource or in the name.
  2. Check the audio name. It is the pack’s name, which is not always the car’s name.
  3. Check every data_file line. Two mistakes from the forum: a wave pack entry that points at an .awc file instead of the folder, and a wave pack folder declared as AUDIO_SYNTHDATA.
  4. Look into the folders yourself. A files pattern such as audioconfig/*.dat151.rel can match nothing without a server warning, so confirm that audioconfig and sfx hold the files.
  5. Remove wildcards from the audio lines. A data_file pattern with * that matches no file loads nothing and reports nothing.
  6. Check the start order. The example resource’s author wants the sound resource ensured before the car resource, as in Step 4.

FiveM crashes on join with “in data file mounter class audMetadataDataFileMounter”

The full message looks like this one from a forum report:

An exception occurred (c0000005 at 0x141239025) during loading of resources:/tachyon/audio/tachyon_game.dat in data file mounter class audMetadataDataFileMounter. The game will be terminated.

The client builds this text from the data_file entry it was loading, so the path in the message tells you which manifest line to check. Three things to check, taken from the forum threads:

  • A line for a file you do not have, such as an AUDIO_SYNTHDATA line for a pack without an _amp file, or lines left behind after you deleted a pack.
  • A file that never reaches players. Each .rel file must also be covered by files: in nta’s words, entries that refer to an actual file “need that file to be added to the packfile too”.
  • A path with the full file name. In the 2019 report, the crash message named a path ending in gtr17_game.dat151.rel.

Correct the line or add the file, restart the resource and join again.

“Could not add data_file … - invalid type”

The client logs Could not add data_file <file> - invalid type <type>. and skips the entry when it does not know the type name. Compare your spelling with the Data Files page.

Only you hear the new sound, or it resets

That is the script method. The native acts on one client and is not replicated, so the script has to apply it on every client, and again when the vehicle comes back into scope. See the script section above.

Sirens or the horn changed with the engine sound

One audio name covers engine, horn and sirens, as the sample entry near the top of this page shows. The forum answer about sirens quoted earlier suggests a siren control script, after which “you won’t have to worry about that”.

The sound is too loud or too quiet

On the forum, the volume of a pack is changed in its data files. One user edited the “master volume” in the XML export of a .rel file and could not import it again with OpenIV. The reply says that this import needs CodeWalker.

The download contains only .awc files

A pack with only .awc files brings no game data, so it has no new audio name for audioNameHash, and the steps above do not apply. On the forum, such files are used to replace recordings inside the game’s own wave packs.

FiveM’s client source lists those base packs by name, STREAMED_VEHICLES_GRANULAR among them. A 2021 forum thread shows the method for radio stations: an AUDIO_WAVEPACK line that points at a resource folder named after the base pack. For engine sounds, forum reports from 2019 describe a catch: after one replaced file was streamed, other cars lost their sound until every file of that pack was streamed as well. Those reports are older than the current client code, and no official page documents the result today.

Next Steps

Official documentation and repository references