From bcb1fc6dce26add2e26cf86f51b41b724b9b1850 Mon Sep 17 00:00:00 2001 From: Fabian Fabian Date: Sat, 7 Sep 2019 20:28:49 +0200 Subject: [PATCH] added /countdown clear --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 5c0002fa..0dd31fcc 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -363,6 +363,14 @@ namespace ReallifeGamemode.Server.Commands return; } + if (timer_string == "clear") + { + foreach (Client c in NAPI.Pools.GetAllPlayers()) + { + c.TriggerEvent("countdown", 0, "ich liebe balbo"); + } + } + int timer = int.Parse(timer_string); foreach (Client c in NAPI.Pools.GetAllPlayers())