syntax
This commit is contained in:
@@ -2906,8 +2906,8 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Command("blind", "~m~Benutzung: ~s~/blind")]
|
[Command("blind", "~m~Benutzung: ~s~/blind [Name / ID] [Mode]")]
|
||||||
public void CmdBlind(Client player, String name, int mode)
|
public void CmdBlind(Client player, string name, int mode)
|
||||||
{
|
{
|
||||||
if (!player.IsLoggedIn()) return;
|
if (!player.IsLoggedIn()) return;
|
||||||
|
|
||||||
@@ -2921,7 +2921,8 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
if (mode == 1)
|
if (mode == 1)
|
||||||
{
|
{
|
||||||
target.TriggerEvent("toggleBlackScreen", true);
|
target.TriggerEvent("toggleBlackScreen", true);
|
||||||
} else if (mode == 0)
|
}
|
||||||
|
else if (mode == 0)
|
||||||
{
|
{
|
||||||
target.TriggerEvent("toggleBlackScreen", false);
|
target.TriggerEvent("toggleBlackScreen", false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user