Skip to content

Instantly share code, notes, and snippets.

@MrBluePotato
Last active January 2, 2016 07:39
Show Gist options
  • Save MrBluePotato/8271097 to your computer and use it in GitHub Desktop.
Save MrBluePotato/8271097 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace fCraft
{
class PropHunt
{
private string[] blockId = {"1", "2", "4", "5", "7", "12", "13", "17", "19", "64", "65"};
Random randBlock = new Random();
private DateTime startTime;
private static World _world;
public void start()
{
startTime = DateTime.UtcNow;
foreach (Player p in _world.Players)
{
p.Model = blockId[randBlock.Next(0, blockId.Length)];
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment