Add additional vehicles to your config(Example: Police cars and other vehicles not found in SQL database)
Known Issues
Some labels will not show up properly. This is not a malfunction of the script and seems to be a bug with textures of certain vehicles apparently(Not really sure).
I’m at a loss as to what table you’re referring to that stores vehicles? I’m using QB and the only vehicle table i have is the player_vehicles, which is the vehicles already purchased, but in order to be purchased they need manually adding ti the vehicles.lua anyway which handles the display name?
Yes the confusion was because of my lack of knowledge of QBCore; my apologies again.
But you still have to have your own AddTextEntry thread in order to achieve the vehicle label to be set?
I really need to just set up a qb test server.
Going to take a closer look and see if I can’t still add support for QBCore (without sql queries obviously) but maybe automatically add text entries to vehicles within the framework’s vehicles.lua. I’ll have to see when I am not on phone.
EDIT: I see, this is already done by QBCore, this is only useful for ESX.
No no, no need to apologise, we all learn from each other at the end of the day.
The AddTextEntry isn’t required, it’s obsolete, that original snippet i posted was from an ESX server i had a few year back, It would be needed for vehicles not in the vehicle.lua, but then you won’t be able to store them or purchase anyway.
Only thing needed for the label to be set is all done in vehicles.lua for QBCore.
Although this is completely useless to you as well as other QBCore users as this feature is already enabled within your framework. I think this could still be of some use for some major time saving amongst ESX users at least.