Last active
January 2, 2016 07:39
-
-
Save MrBluePotato/8271097 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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