Fix Wanteddeath nur eine Meldung

This commit is contained in:
Mac_Slash
2020-04-13 17:31:32 +02:00
parent 569cd38a4e
commit fbce02adf1
2 changed files with 5 additions and 4 deletions

View File

@@ -66,10 +66,7 @@ namespace ReallifeGamemode.Server.Events
User user = player.GetUser(); User user = player.GetUser();
if (user.JailTime <= 0) 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<int>() { 1, 3 });
}
//MEDIC AUFTRAG //MEDIC AUFTRAG
MedicTask reviveTask = new MedicTask() MedicTask reviveTask = new MedicTask()
{ {

View File

@@ -119,6 +119,10 @@ namespace ReallifeGamemode.Server.Wanted
} }
} }
else
{
ChatService.BroadcastFaction("!{#8181E9}HQ: Der Verdächtigte " + player.Name + " wurde soeben ins Krankenhaus eingeliefert.", new System.Collections.Generic.List<int>() { 1, 3 });
}
} }
} }
} }