From 77d019ca8f7e3e2048d81c85a3c99bbb809da238 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 2 May 2021 16:15:16 +0000 Subject: [PATCH] change /m --- ReallifeGamemode.Server/Commands/FactionCommands.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index 83968304..e4ff80ca 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; @@ -511,7 +511,7 @@ namespace ReallifeGamemode.Server.Commands #region Staatsfraktionen (LSPD / FBI) Commands - [Command("m", "~m~Benutzung: ~s~/m [Message]", GreedyArg = true)] + [Command("m", "~m~Benutzung: ~s~/m [Nachricht]", GreedyArg = true)] public void CmdFactionMegaphone(Player player, string message) { User user = player.GetUser(); @@ -533,7 +533,7 @@ namespace ReallifeGamemode.Server.Commands return; } - ChatService.SendInRange(player.Position, 50, "!{#FFFF00}[" + player.GetUser().Faction.Name + " " + player.Name + ": !{#FFFF00}" + message + "]"); + ChatService.SendInRange(player.Position, 50, "!{#FFFF00}Megafon (" + player.Name + "): " + message); } [Command("cuff", "~m~Benutzung: ~s~/cuff")]