From e7d51e79e02c0dd35f52d7bddef8a21df4c69196 Mon Sep 17 00:00:00 2001 From: nahkampfaffe Date: Sat, 3 Aug 2019 11:42:00 +0200 Subject: [PATCH] Added command for admins to fake the /dice result --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 2da1d819..362b987a 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -938,6 +938,15 @@ namespace ReallifeGamemode.Server.Commands } #endregion #region ALevel3 + + + [Command("adice", "~m~Benutzung: ~s~/dice [Zahl]")] + public void CmdUserAdice(Client player, int number) + { + if (!player.IsLoggedIn()) return; + + ChatService.SendMessage(player, "* " + player.Name + " + würfelt eine " + number); + } [Command("veh", "~m~Benutzung: ~s~/veh [Fahrzeug] (Farbe 1) (Farbe 2)")] public void CmdAdminVeh(Client player, string hash, int color1 = 111, int color2 = 111)