From fc8922f34a616ac5a6479b96638026ecc96a7b5e Mon Sep 17 00:00:00 2001 From: aviate Date: Tue, 1 Oct 2019 17:11:37 +0200 Subject: [PATCH] admin changes --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index a7bfd200..488ca64f 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -139,7 +139,7 @@ namespace ReallifeGamemode.Server.Commands if (!GlobalHelper.DutyAdmins.Contains(player)) { GlobalHelper.DutyAdmins.Add(player); - ChatService.Broadcast("~g~** " + player.Name + " hat sich zum Support angemeldet"); + ChatService.Broadcast("~r~** " + player.Name + " hat sich zum Support angemeldet"); player.TriggerEvent("toggleADutyMode", true); @@ -221,6 +221,7 @@ namespace ReallifeGamemode.Server.Commands NAPI.Entity.SetEntityVelocity(player.Vehicle, new Vector3()); } else player.Position = target.Position; + ChatService.SendMessage(player, "~c~* Du hast dich zu " + player.Name + " teleportiert."); } [Command("position", "~m~Benutzung: ~s~/position")] @@ -232,7 +233,7 @@ namespace ReallifeGamemode.Server.Commands return; } - ChatService.SendMessage(player, "Position: X Y Z H: " + player.Position + " " + player.Heading); + ChatService.SendMessage(player, "Position: X Y Z: " + player.Position + " Richtung: " + player.Heading); } [Command("gh", "~m~Benutzung: ~s~/gh [Name]")] @@ -258,7 +259,7 @@ namespace ReallifeGamemode.Server.Commands NAPI.Entity.SetEntityVelocity(target.Vehicle, new Vector3()); } else target.Position = player.Position; - ChatService.SendMessage(target, "Du wurdest von " + player.Name + " teleportiert."); + ChatService.SendMessage(target, "~c~* Du wurdest von " + player.Name + " teleportiert."); } [Command("aw", "~m~Benutzung: ~s~/aw [Spieler] [Nachricht]", GreedyArg = true)]