Qb-core addon vehicles

So ive looked all over to try and figure out how to add cars to the dealerships in my server and i havent been able to find a way too. what would be the best way to do it

Look into your database. There is a table called “vehicles”. There you can add vehicles that you want.
If you have any questions fell free to ask me.

Anytime i have done that it would break the phone script

To add vehicles in qb-core to the vehicle list go to the following directory. It’s pretty straightforward from there.

qb-core/shared/vehicles.lua

anytime i would do that it would break the phone script completley

Are you using the default QBCore phone system or vehiclesales?

Default of both it works completely fine. What is the error you are experiencing?

so for ur first question. both that came with the qbcore frame work and for your second question. it doesnt throw any errors in the console it just make the phone go completley blank when i edit the vehicles lua in the shared/vehicles.lua

1 Like

When you say blank, you mean completely?
To me it sounds like perhaps the vehicles you’re putting in don’t match whats in the vehicle manifest for the vehicle or there is a misstype, a missing “,” on your additions. I’m not sure then.

ya like all the apps just dissapear

I have already done this if you would like some help I can show you what to do add me on discord ill help you Taz#0139

2 Likes

added ya

1 Like

Same the phone doesnt open when i add the vehicle in vehicles.lua

You fixed this?

1 Like

Yea, you cant get addon cars in the showroom. but you can get them if you swap them

Does anyone have a solution to this Ive recently gotten into Fivem server stuff and I’m having the same issue as the original post

1 Like

also wondering about this, i can spawn all my cars in manually, they show up on showroom floor but when i click vehicle info nothing happens and i get an error in my f8