Information
İnformation about the resource
Last updated
İnformation about the resource
Last updated
To add more vehicles to the script, you can use this example table and paste it inside the Config.VehiclesData table in the config/config.lua file.
name
Vehicle name. The name you use in /car [name]
label
Label typed in UI
model
This is the second label of the vehicle. The name that will appear in the UI. This is optional.
price
The normal price of vehicles. If the company does not have an owner, players pay this price to buy the vehicle. And also the price paid to replenish the stock of the vehicles in the bossmenu.
stock
This part is not important, leave it as 1.
img
Default photo of vehicles. Fivem's own site is used for normal gta vehicles, but if you are using a custom car, you can either write a url yourself or use scripts like greenscreener to get the picture of the vehicle. (PNG Format) Greenscreener:
category
You need to write the 'name' in the table in Config.Categories. Except 'all'.
discount
Don't touch this, leave it as 0
information
The values in this table are not important, they just need to be there. You can also set them all to 0.
You can add vehicles as you wish using the information above.