public void DismissVeh() { if (!Veh.Exists()) { return; } Veh.Dismiss(); }
public void TurnOnSiren() { if (!Veh.Exists() || IsSecondCop) { return; } Veh.IsSirenOn = true; Veh.IsSirenSilent = true; }
public void EnterVehicle() { if (!Ped.Exists() || !Veh.Exists()) { return; } Ped.Tasks.ClearImmediately(); if (!IsSecondCop) { Ped.Tasks.EnterVehicle(Veh, -1); } else { Ped.Tasks.EnterVehicle(Veh, 0); } }