19.07.2018, 11:33
Database should have a primary key (auto increment) to identify each vehicle. The rest of the data such as model is what you only need. Then you store in variable the ID of the vehicle so you can update the database if needed or delete records from it. The in-game vehicleid is not meant to be stored, you use it as index in arrays.