/acid

/acid

Postby dryfly21 » 03 Jun 2013, 02:38

works almost exactly like ultimas' infection thing for zombies http://www.mcdzienny.cba.pl/viewtopic.php?f=19&t=2024
Code: Select all
using System;

namespace MCDzienny
{
  public class CmdAcid : Command
  {
    public override string name { get { return "acid"; } }
    public override string shortcut { get { return ""; } }
    public override string type { get { return "other"; } }
    public override bool museumUsable { get { return false; } }
    public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
      
    public override void Use(Player p, string message)
    {
      Command.all.Find("spawn").Use(p, "");

      InfectionSystem.InfectionSystem.infected.Add(p);
      InfectionSystem.InfectionSystem.notInfected.Remove(p);
      Player.GlobalMessage(p.name + "%c had acid poured on them!");
    }
      public override void Help(Player p)
    {
      Player.SendMessage(p, "/Acid- Spills acid and kills the user making them a zombie!");
    }
  }
}
dryfly21
 
Posts: 135
Joined: 07 Apr 2012, 03:27

Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 2 guests

cron