08.12.2016, 13:18
According to your code, only one vehicle can have attached objects at a time. Vehicle ID is not equal to Vehicle Model ID by the way and use an array to store the object IDs - having them renamed like "objn" is ridiculous.

