diff --git a/ReallifeGamemode.Server/Gangwar/Turf.cs b/ReallifeGamemode.Server/Gangwar/Turf.cs index 49a9508a..c4692673 100644 --- a/ReallifeGamemode.Server/Gangwar/Turf.cs +++ b/ReallifeGamemode.Server/Gangwar/Turf.cs @@ -206,9 +206,9 @@ namespace ReallifeGamemode.Server.Gangwar Client[] usersInGangwar = NAPI.Pools.GetAllPlayers().Where(c => c.GetUser().Faction.Name == getOwner() || c.GetUser().Faction.Name == getAttacker()).ToArray(); foreach (var u in usersInGangwar) { - Console.WriteLine(JsonConvert.SerializeObject(usersInGangwar)); - Console.WriteLine(JsonConvert.SerializeObject(usersInGangwar.Length)); - Console.WriteLine(JsonConvert.SerializeObject(u.Name)); + u.SendChatMessage(JsonConvert.SerializeObject(usersInGangwar)); + u.SendChatMessage(JsonConvert.SerializeObject(usersInGangwar.Length)); + u.SendChatMessage(JsonConvert.SerializeObject(u.Name)); u.TriggerEvent("GangwarScore", this.Attacker, this.Owner, this.Att_Score, this.Def_Score); u.SetData("inGangWar", getId()); clientsInGangwar.Add(u);