Resource LUA files

Where would i find the Resource LUA files for add on cars.
I have these files in the car im trying to get:
carcols.meta
carvariations.meta
dlctext.meta
handling.meta
vehicles.meta

1 Like

Create a file called:
__resource.lua
and inside you are going to paste this:

resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'

files {
    'vehicles.meta',
    'carvariations.meta',
    'carcols.meta',
    'handling.meta',
    'vehiclelayouts.meta',    -- Not Required
}

data_file 'HANDLING_FILE' 'handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
data_file 'CARCOLS_FILE' 'carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'   -- Not Required

Then create a folder:
stream
and there you put the files
.yft .ytd

Under of:
resource.lua
you are going to put all the files:
.meta

It should look something like this:


https://gyazo.com/0abbe7c7d704e44b21b75f551e648b5f

:heart:

Thank you so much :slight_smile:

Im trying to add a helicopter pack to my server and it has a weaponwar2.meta. How would I add this inside the _resource.lua?

https://docs.fivem.net/docs/game-references/data-files/

For the __resource.lua file do I just keep using the same one for every vehicle or is it suppose to be different depending on each car?

jooo man goeie file