From d56dbecbab1cfa7a9712b9707945632d0319f9a2 Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 9 Sep 2019 18:29:12 +0200 Subject: [PATCH] syntax --- 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 38386537..2f1a0136 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -2906,8 +2906,8 @@ namespace ReallifeGamemode.Server.Commands } } - [Command("blind", "~m~Benutzung: ~s~/blind")] - public void CmdBlind(Client player, String name, int mode) + [Command("blind", "~m~Benutzung: ~s~/blind [Name / ID] [Mode]")] + public void CmdBlind(Client player, string name, int mode) { if (!player.IsLoggedIn()) return; @@ -2921,7 +2921,8 @@ namespace ReallifeGamemode.Server.Commands if (mode == 1) { target.TriggerEvent("toggleBlackScreen", true); - } else if (mode == 0) + } + else if (mode == 0) { target.TriggerEvent("toggleBlackScreen", false); }