ELS Models To Addons

I would like to know how i can make an els model vehicle into an addon car?

1 Like

Agreed!
If you do figure out how to do this please tell me

You will need to place the model of the vehicle into a folder called ‘Stream’. You will need to place this folder labeled Stream and place it inside a folder name the vehicle add-on or a name of your choice. After you have done that, create a folder and name it ‘Data’ and then put it inside that add-on folder. Inside the Data file you will need a carvariations.meta file, a carcols.YMT, a vehicles.meta file and a vehicle_names.lua file. Those must be located in the data folder and the car model must be put into the stream folder.

After you have done this, you will need a _resource.lua file with the following information:

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

files {
	'data/vehicles.meta',
	'data/carcols.meta',
	'data/carvariations.meta',
}

data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta'
data_file 'CARCOLS_FILE' 'data/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta'

client_script 'data/vehicle_names.lua'

Just copy and paste that code if you have to and create a _resource.lua.

The start the resource

FxServer:
start (caraddonfoldername)

CFX-Server:

  • (caraddonfoldername)

I hope this helps.