Hiya! My title is Serena Okay. I already made a discussion board put up fairly some time in the past on a different topic concerning FiveM Servers. That one was specificly was about how to fix your emergency lights & A different one about how you might set-up a FiveM server with Radmin VPN. So in case you like my work and my posts please give them a wish to get them seen on the boards. I’ll all the time attempt to be as sort as attainable and be as clear with my directions as I might be!



So we’re going over a number of issues on this sector. I haven’t seen any tutorials about find out how to actualy use a CUSTOM sound. Sure you’ll be able to go over to your hash and alter it to be a GTA-V inventory automobile however not likely like a file reminiscent of a .meta file. Right here I’ll clarify how I did it.

:warning:DISCLAIMER:
This technique doesn’t appear to ALWAYS work. It might be that one second you’re listening to sound and the opposite second you’re not. Generally the engine sounds will all the time work. But when it has for instance a siren sound the siren may not work. I as of now haven’t discovered a repair for this. In 1 server(My Dev Server) the siren was on however in my essential server (even after clearing cache) you wouldn’t be capable to hear it.

Setting Up Useful resource Recordsdata

For this to work we would want to arrange a fundamental useful resource. So I went forward and obtained you all settled with recordsdata that you’d probably want.

I used this SAHP Pack from the GTA-V Mods website.

__resource.lua

resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
 
recordsdata {
    'automobiles.meta',
    'carvariations.meta',
    'carcols.meta',
    'dealing with.meta',
    'vehiclelayouts.meta',
    'FAKEDLC_game.dat151.rel',
    'FAKEDLC_sounds.dat54.rel',
}

data_file 'HANDLING_FILE' 'dealing with.meta'
data_file 'VEHICLE_METADATA_FILE' 'automobiles.meta'
data_file 'CARCOLS_FILE' 'carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'
data_file 'AUDIO_GAMEDATA' 'FAKEDLC_game.dat'
data_file 'AUDIO_SOUNDDATA' 'FAKEDLC_sounds.dat'

So the FAKEDLC half needs to be modified to the title that’s earlier than the breaking _ half.

resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
 
recordsdata {
    'automobiles.meta',
    'carvariations.meta',
    'carcols.meta',
    'dealing with.meta',
    'vehiclelayouts.meta',
    'jmsahp_game.dat151.rel',
    'jmsahp_sounds.dat54.rel',
}

data_file 'HANDLING_FILE' 'dealing with.meta'
data_file 'VEHICLE_METADATA_FILE' 'automobiles.meta'
data_file 'CARCOLS_FILE' 'carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'
data_file 'AUDIO_GAMEDATA' 'jmsahp_game.dat'
data_file 'AUDIO_SOUNDDATA' 'jmsahp_sounds.dat'

The jmsahp is the FAKEDLC half. Remember that there’s solely .rel recordsdata being loaded on this tutorial. That are then .dat recordsdata later within the useful resource.

To my basic data .dat151.rel will ALWAYS change into AUDIO_GAMEDATA & .dat54.rel will ALWAYS change into AUDIO_SOUNDDATA.

After you have made your __resource.lua file and have set your automobile stream folder and extracte all meta recordsdata we’re prepared to maneuver on.

Setting Up Sound Recordsdata

Organising the sound recordsdata aren’t truly that difficult. This tutorial will solely cowl the .dat.rel recordsdata as I’ve personally not labored with .awc recordsdata earlier than.

When you have got your useful resource folder setup this embrace all .meta recordsdata & the stream folder with all it’s contents (Car .ytf / .ytd) recordsdata. You want to return in OpenIV and head over to the x64/audio/config there needs to be 2 recordsdata there that finish in .rel these are the recordsdata that you really want in the identical path as your .meta recordsdata. Making that the root of your useful resource folder in case you copied __resource.lua that’s above.

That’s it utilizing the __resource.lua above you at the moment are setup and may have one thing that appears like this.

image

As you see the .rel recordsdata are in the identical path because the .meta recordsdata.

Testing It In Sport

While in the Server

When you’re in the server and have permissions you can type /refresh and /start resourceName and it should start fine then you can drive around and the vehicles should have audio.

NOTE:
Sirens might still be default GTA

Outside of the server

In your console you can type /refresh and /start resourceName and you can see the resource starting up.

That is all for now.
if you have any errors or crashes at all don’t be afraid to send me a PM on here or on my discord listed below.



This article was written by Serena K It would be appreciated if you do not take credit to yourself when mentioning this.


Fix Emergency Lights
Guide on using RADMIN VPN




Looking for a FiveM Server host? Click here