public override void Init() //happens when you load the command
{
InfectionSystem.InfectionSystem.RoundStart += new EventHandler<InfectionSystem.RoundStartEventArgs>(InfectionSystem_RoundStart);
}
public void InfectionSystem_RoundStart(object sender, InfectionSystem.RoundStartEventArgs e)
{
Player.players.ForEachSync(player =>
{
Player.SendMessage(player, "HI");
});
}
Users browsing this forum: No registered users and 5 guests