Added complex dice system
This commit is contained in:
@@ -11,6 +11,18 @@ namespace ReallifeGamemode.Server.Commands
|
||||
{
|
||||
class UserCommands : Script
|
||||
{
|
||||
|
||||
[Command("dice", "~m~Benutzung: ~s~/dice")]
|
||||
public void CmdUserDice(Client player)
|
||||
{
|
||||
if (!player.IsLoggedIn()) return;
|
||||
|
||||
Random rnd = new Random();
|
||||
int number = rnd.Next(1, 7);
|
||||
|
||||
ChatService.SendMessage(player, "* " + player.Name + " + würfelt eine " + number);
|
||||
}
|
||||
|
||||
|
||||
[Command("car", "~m~Benutzung: ~s~/car")]
|
||||
public void CmdUserCar(Client player)
|
||||
|
||||
Reference in New Issue
Block a user