Update FactionCommands.cs

This commit is contained in:
aviate
2019-08-04 13:04:17 +02:00
parent 574ca6216e
commit 4d7cba4db9

View File

@@ -287,8 +287,8 @@ namespace ReallifeGamemode.Server.Commands
ChatService.ErrorMessage(player, "Der Spieler hat keine Wanteds");
return;
}
ChatService.SendMessage(target, "~b~Deine Akte wurde von " + player.Name + " gelöscht. Grund:" + reason);
ChatService.BroadcastFaction("~b~HQ: Die Akte von " + target.Name + " wurde von " + player.Name + " gelöscht. Grund: " + reason + ".", new List<int>() { 1, 3 });
ChatService.SendMessage(target, "!{#8181E9}Deine Akte wurde von " + player.Name + " gelöscht. Grund: " + reason);
ChatService.BroadcastFaction("!{#8181E9}HQ: Die Akte von " + target.Name + " wurde von " + player.Name + " gelöscht. Grund: " + reason + ".", new List<int>() { 1, 3 });
targetUser.Wanteds = 0;
dbContext.SaveChanges();