This support article will detail how you can install vehicles to your FiveM Server, by using both the replace and addon methods. You need to first make sure that you install the assets folder to your server, provided by Albo1125.
- Navigate to this link and download the zip file by clicking the download button in the top right.
- Once downloaded, copy the assets folder into your servers resources folder.
- Open your server.cfg or startup file and add the following line:
ensure assets
Replace Method
- Find the model files in your download for the vehicle.
- Navigate to the assets folder, then to the stream folder.
- Copy and paste the model files (yft and ytd) into the stream folder.
- You may rename the files to another default GTA vehicle, this will change the model being replaced. You can find a list of all default models here.
- Go in-game and spawn the vehicle using the name of the files.
Addon Method
- Find the model files in your download for the vehicle.
- Navigate to the assets folder, then to the stream folder.
- Copy and paste the model files (yft and ytd) into the stream folder.
- You can now rename the model files to your liking, it doesn’t have to be the same as a default car. This example will use response10.
- Now go back to the assets folder, and open the carvariations.meta file.
- Also navigate to the meta-templates folder and open the template_carvariations.meta file.
- Copy and paste the carvariations entry from the opening item tag, to the closing item tag, and paste in the carvariations.meta file. Replace the modelName entry (currently police) with the name you have chosen, eg. response10. Save the file.
- Now open template_vehicles.meta. You should use CTRL + F to find a relevant entry for your vehicle. For example, search for POLICE. Copy and paste the entry from the opening item tag, to the closing item tag.
- Replace the modelName, txdName and gameName with the chosen model name you have chosen, eg. response10
- The vehicle will now spawn in game if you spawn it by model name.
If you run into any issues, get in touch with us.
If you need to convert a replace vehicle to an addon vehicle, you can use the following support article to help.