Hello guys. I can’t find a way to make a car explode, I tried in many ways but I can’t achive that.
vehicle.Health = 0;
vehicle.BodyHealth = 0;
vehicle.EngineHealth = 0;
vehicle.PetrolTankHealth = 0;
vehicle.HealthFloat = 0;
World.AddExplosion(vehicle.Position, ExplosionType.Car, 1f, 1f);
The last one is just an animation, with the other the car is on fire but will not explode unless I will fire with bullet on it.
Someone know how to make the car explode or add damage to force to explode?
////UPDATE////
FOR ANYONE NEED I FOUNDTHE WAY , THIS IS THE WAY
Function.Call(Hash.NETWORK_EXPLODE_VEHICLE, vehicle, true, true, true);