#help"!
1 messages · Page 1 of 1 (latest)
Did you add the vehicle inside ur shared/vehicles.lua ?
where abouts im so clueless
qb-core/shared/vehicles.lua
are you sure you have added it properly and there are no errors if you have a custom admin menu can you see the cars showing
what does it look like in your vehicle lua?
basically say you want to add a rockcrawler names crawler and the mercedes mclaren names merclady
it would look something like this
['crawler'] = {
['name'] = 'crawler',
['brand'] = 'crawler',
['model'] = 'crawler',
['price'] = 40000000,
['category'] = 'offroad',
['hash'] = crawler,
['shop'] = 'offroad',
},
['merclady'] = {
['name'] = 'merclady',
['brand'] = 'merclady',
['model'] = 'merclady',
['price'] = 56000000,
['category'] = 'import',
['hash'] = merclady,
['shop'] = 'import',
},
hope this helps ^.^
This isn't the correct format for qb-core shared vehicles.
See here:
https://github.com/qbcore-framework/qb-core/blob/main/shared%2Fvehicles.lua
mine works too xD