@LeeC2202 said in How to, Spawn Fully upgraded kit Vehicles?:
<> it takes a very short period of time for the model to load first time, like a fraction of a second, but no trainer or shop is involved.
Function.Call(Hash.SET_VEHICLE_MOD_KIT, _targetVehicle, 0);
int modKitID = Function.Call<int>(Hash.GET_VEHICLE_MOD_KIT, _targetVehicle);
if (modKitID > 0 && modKitID < 255)
{
int Spoilers = _targetVehicle.GetModCount(VehicleMod.Spoilers);
if (Spoilers > 0) _targetVehicle.SetMod(VehicleMod.Spoilers, cAutoSnap.modRandomNumber.Next(Spoilers + 1), true);
}
Does this mean there's hope for me that there'll be a seperate script in the foreseeable future so I won't have to worry about a valid modkit_ID anymore? Pls ftloG...