Added command for admins to fake the /dice result
This commit is contained in:
@@ -938,6 +938,15 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region ALevel3
|
#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)")]
|
[Command("veh", "~m~Benutzung: ~s~/veh [Fahrzeug] (Farbe 1) (Farbe 2)")]
|
||||||
public void CmdAdminVeh(Client player, string hash, int color1 = 111, int color2 = 111)
|
public void CmdAdminVeh(Client player, string hash, int color1 = 111, int color2 = 111)
|
||||||
|
|||||||
Reference in New Issue
Block a user