What's new

Question cardealer attempt to index a nil value (field '?')

Bone

Bronze Elite
Joined
Aug 27, 2022
Messages
11
Reaction score
6
Points
156
Location
Holland
Im getting this error while trying to open the showroom of the cardealer. I suppose it has to do with the tables in my database?
The line that gives the error is this:

Menu.addButton(QBCore.Shared.Vehicles[model]["brand"].." "..QBCore.Shared.Vehicles[model]["name"],"showroomPos",model)
 
Top