syntax
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user