01.09.2016, 21:19
Vehicleids are never to be stored in the database because they are volatile. The id in the database is merely there to uniquely identify the row; it's not the same as the in-game vehicleid nor is it supposed to have any other intrinsic value. You must store the id of the row inside a variable upon a vehicle's creation so you can cross-reference the in-game vehicleid with the rowid later.