12.06.2017, 15:44
Hello,
I'm currently making a mission for ambulance where the crew load up supplies into it before taking it back to base.
However, I don't know how to get it so if the ambulance is destroyed (and the players survive) the mission ends and checkpoints are removed.
I've had a look at the OnVehicleDeath function but I don't want it to end everytime an ambulance is destroyed, only when it has been loaded up.
Thanks
I'm currently making a mission for ambulance where the crew load up supplies into it before taking it back to base.
However, I don't know how to get it so if the ambulance is destroyed (and the players survive) the mission ends and checkpoints are removed.
I've had a look at the OnVehicleDeath function but I don't want it to end everytime an ambulance is destroyed, only when it has been loaded up.
Thanks