GameObject instantiateLaterVehicle;//after the traffic system is initializedvoidOnTrafficInitializedCallback(){ //get the complete list of excluded vehicleList<VehicleComponent> excludedVehicle =API.GetExcludedVehicleList();foreach (VehicleComponent vehicleComponent in excludedVehicle) {if (vehicleComponent.vehicleType==VehicleTypes.SomeType) { //do something //save the vehicle //do whatever you want //I will save the GamaObject for later use instantiateLaterVehicle =vehicleComponent.gameObject; } }}//at the right time instantiate the vehicle using one of those 2 optionsvoidInstantiateExcludedVehicle(){ //manually add vehicle to a specified positionAPI.AddExcludedVehicle(API.GetExcludedVehicleIndex(instantiateLaterVehicle), position); //add the vehicle to the system and it will be automatically instantiated like any other vehicleAPI.AddExcludedVehicleToSystem(API.GetExcludedVehicleIndex(instantiateLaterVehicle));}