From 024022b439cd0edc485a7de391de1e8eefdb98e0 Mon Sep 17 00:00:00 2001 From: Siga Date: Tue, 17 Mar 2020 16:30:33 +0100 Subject: [PATCH] Set HQ Message after Suspect death --- ReallifeGamemode.Server/Events/Death.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ReallifeGamemode.Server/Events/Death.cs b/ReallifeGamemode.Server/Events/Death.cs index 727cbb2b..ff100866 100644 --- a/ReallifeGamemode.Server/Events/Death.cs +++ b/ReallifeGamemode.Server/Events/Death.cs @@ -66,6 +66,10 @@ namespace ReallifeGamemode.Server.Events User user = player.GetUser(); if (user.JailTime <= 0) { + if(user.Wanteds > 0) + { + ChatService.BroadcastFaction("!{#8181E9}HQ: Der Verdächtigte " + player.Name + " wurde soeben ins Krankenhaus eingeliefert.", new System.Collections.Generic.List() { 1, 3 }); + } //MEDIC AUFTRAG MedicTask reviveTask = new MedicTask() {