How can I get this carpack to start on fivem server?

I am trying to use this car pack on my localhost server and I am having quite a rought time getting them to showup on the server and I am not shure if I have a file missing on my resource.lua or something.

Car Pack: Liberty City Vehicle & Ped Pack (FDLC, LCPD and more) [Add-On | Liveries | Sounds | Custom Shards] - GTA5-Mods.com

Resource.lua content:

resource_manifest_version ‘77731fab-63ca-442c-a67b-abc70f28dfa5’
– MADE BY PROJECT ROGUE ANDREW | ABOWPLAYS
description “Car Add-on”

files {
‘data/handling.meta’,
‘data/vehiclelayouts.meta’,
‘data/vehicles.meta’,
‘data/vehicle_names.meta’,
‘data/carcols.meta’,
‘data/carvariations.meta’,
‘data/carvariationslc.meta’,
‘data/peds.meta’,
‘data/dlctext.meta’,
‘data/weapons.meta’,
‘data/scenarios.meta’,
‘data/weaponarchetypes.meta’,

}

data_file ‘HANDLING_FILE’ ‘data/handling.meta’
data_file ‘VEHICLE_LAYOUTS_FILE’ ‘data/vehiclelayouts.meta’
data_file ‘VEHICLE_LAYOUTS_FILE’ ‘data/vehiclelayouts_npc.meta’
data_file ‘VEHICLE_METADATA_FILE’ ‘data/vehicles.meta’
data_file ‘PED_METADATA_FILE’ ‘peds.meta’
data_file ‘VEHICLE_METADATA_FILE’ ‘data/vehicle_names.meta’
data_file ‘DLCTEXT_FILE’ ‘data/dlctext.meta’
data_file ‘CARCOLS_FILE’ ‘data/carcols.meta’
data_file ‘VEHICLE_VARIATION_FILE’ ‘data/carvariations.meta’
data_file ‘WEAPONINFO_FILE’ ‘data/weapons.meta’
data_file ‘WEAPON_METADATA_FILE’ ‘data/weaponarchetypes.meta’

client_script { ‘client/vehicle_name.lua’ }

__resource.lua (1.1 KB)

Anyhelp will be apreciated. Thanks a lot!!!

1 Like

Stop using resource.lua and use fxmanifest.lua

Try this:

I’ve already provided everything needed in the template

And use vMenu to add vehicle spawn names to the addons file.

It worked, love you!! Thx alot!!!

And for the audio files that it comes with any tip to make them work?

I don’t know unfortunately, maybe @LUKY00010 does? I just ended up replacing vehicles with addon sounds with vanilla sounds as I’d rather having a working car than a dead quiet one lol

1 Like

I got some working.
For example if you find a file named adder2_game.dat151.rel (I used adder2 as an example of vehicle name), you’ll have to add this to the fxmanifest:

files { "adder2_game.dat151.rel" }
data_file 'AUDIO_GAMEDATA' 'adder2_game.dat'
1 Like

didnt work, there are all this files + the sfx ones that have _npc.awc files inclueded and i dont really know if it makes any diference.

Thx for the help!

Oh well then I don’t know more about it :confused:
You could try some of them from here: Data files - Cfx.re Docs
AUDIO_CURVEDATA, AUDIO_DYNAMIXDATA, AUDIO_GAMEDATA, AUDIO_SOUNDDATA, AUDIO_SPEECHDATA, AUDIO_SYNTHDATA, AUDIO_WAVEPACK
Maybe you’ll be able to figure it out :crossed_fingers:

fxmanifest.lua (2.3 KB)
I have used it, some cars like the taxis work perfectly but the rest dont work

add the carpack to the server and start it in server.cfg

I explained this here, I hope it helps!: