[ad_1]
FiveM Modding Tutorial
Hello, i seen many people wondering how to put in vehicles for sale in esx_vehicleshop. Today im gonna show you how to do it properly.
Requirements: MYSQL
ESX_VEHICLESHOP
A ESX Fivem Server
A Car
Start off by adding a car (i wont show this step since i believe there is a tuto for it allready) into the game, you need to find the spawn name of the car usually this can be find in the files of the model.
Open up HeidiSQL and login to Database, press on the vehicle “tab”
Right click on a vehicle and press duplicate row
Now it will look something like this depending on what vehicle row you decided to copy.
For the ID it will be something random that your database doesnt allready use, for me the highest number is 360 so i do 361. Name will be what you want it to be named in the esx_cardealer, it doesnt really matter at all. ID is important, this will be the spawn name of the vehicle. Lets say i installed a Audi RS6 and the spawn name will be for example audirs6 then that is the Model. Price is of your choice and category all depends what vehicle but doesnt matter.
When you are done it should look something like this:
Restart Server & Success!
[ad_2]
Original source: https://forum.cfx.re/t/how-to-add-addon-cars-into-esx-vehicleshop-mysql/87546