Read readme for complete functionality. This solution has many advantages. You can easily edit cars without having to edit marged cars into a single file. And it contains a preloader to download the car before connecting to the server.
Package contain as example p1 car. You can delete this car.
- Download .zip file and paste to the folder server-data/resources
- Download car from internet
- To the folder data add files (carcols.meta ,carvariations.meta, dlctext.meta, handling.meta, vehicles.meta) -> rename file [spawnname].file.meta (Example: p1.carcols.meta).
- To the folder stream make directory by spawnname (for example: p1) and paste there .yft, .ytd
- Add to the vehiclenames.lua -> paste ther name Example: AddTextEntryByHash(0xF4B56714, 'McLaren P1')
- Add car spawnname to preloader.lua Example: local vehicles = { p1, nexrcar, }