11.05.2015, 19:03
See the "Model" in the database. It sets the modelid to 2 but the valid model IDs are between 400 and 611. I assume you returned the index only (from the loop) instead of adding 400 to it.
If you cannot fix it, then post GetCarIDFromName function here.
If you cannot fix it, then post GetCarIDFromName function here.