Ejemplo n.º 1
0
 public virtual void Dismiss()
 {
     RemoveBlip();
     canRun = false;
     ProcHost.Stop();
     Logging.Logger.LogDebug(nameof(EvidenceBase), nameof(Dismiss), "invoked");
 }
 private void End()
 {
     DisplayLine("[~b~Detective~w~]: You can finish cleaning up the scene or leave, I've got all I need now.", DetectivePed);
     HasEnded  = true;
     IsRunning = false;
     DetectivePed.IsInvincible         = false;
     DetectivePed.IsPersistent         = false;
     DetectivePed.BlockPermanentEvents = false;
     _procHost.Stop();
 }
        private void End()
        {
            _processHost.Stop();

            if (DetectivePed)
            {
                DetectivePed.Dismiss();
            }
            if (DetectiveVeh)
            {
                DetectiveVeh.Dismiss();
            }
            if (DetectiveBlip)
            {
                DetectiveBlip.Delete();
            }
        }
Ejemplo n.º 4
0
 public void Dispose() => proc.Stop();
Ejemplo n.º 5
0
 public void End()
 {
     //stop the internal loop of ProcessHost
     procHost.Stop();
     //it does not need to be called if you did not Start() it
 }
Ejemplo n.º 6
0
 private void Stop()
 {
     stages.Stop();
 }