Fix Wanteddeath nur eine Meldung
This commit is contained in:
@@ -66,10 +66,7 @@ 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<int>() { 1, 3 });
|
||||
}
|
||||
|
||||
//MEDIC AUFTRAG
|
||||
MedicTask reviveTask = new MedicTask()
|
||||
{
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user