public override void Use(Player p, params string[] args) { // CURRENTLY JUST USING FOR DEBUG p.health = 0; p.SendHealth(); }
public override void Use(Player p, params string[] args) { // CURRENTLY JUST USING FOR DEBUG if (args.Length == 1) { string text = args[0]; Player q = Player.FindPlayer(args[0]); if (text[0] == '@') { string newtext = text; if (text[0] == '@') newtext = text.Remove(0, 1).Trim(); Player d = Player.FindPlayer(newtext); d.health = 0; d.SendHealth(); } q.health = 0; q.SendHealth(); Player.GlobalMessage(q.username + " was destroyed by " + p.username); return; } else if (args.Length == 0) { p.health = 0; p.SendHealth(); return; } else { } }