Added command for admins to fake the /dice result

This commit is contained in:
2019-08-03 11:42:00 +02:00
parent e6b93bcd03
commit e7d51e79e0

View File

@@ -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)