public void Stop() { if (deliveryCar.Exists()) { deliveryCar.MarkAsNoLongerNeeded(); } if (deliveryCarBlip.Exists()) { deliveryCarBlip.Delete(); } missionHelper.DestroyEntities(); missionMusic.PlayStopMusic(); BaseScript.TriggerEvent("mtracker:removealltargets"); BaseScript.TriggerEvent("mtracker:stop"); }
public void Stop() { if (deliveryCar.Exists()) { deliveryCar.MarkAsNoLongerNeeded(); } if (deliveryCarBlip.Exists()) { deliveryCarBlip.Delete(); } foreach (Vehicle vehicle in enemyVehicles) { vehicle.MarkAsNoLongerNeeded(); } missionHelper.DestroyEntities(); missionMusic.PlayStopMusic(); }