[Fab]KillMe Command

Posts 1–4 of 4 · Page 1 of 1
[Fab]KillMe Command
Sometimes players grow tired of life and want to suicide..but you can't find the perfect lava pool to do so...

introducing another shitty command the KillME Command
now players can suicide as they please

Code:
   internal class KillME : Command
    {
        public KillME()
            : base("killme")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            if (args.Length > 0)
            {
                player.SendHelp("Usage: /killme");
                return false;
            }
            player.HP = 0;
            player.Death(player.Name);
            return true;
        }
    }
I am so bored right now...
At least you got the name right (/killme is a real command on prod).
Ik this is super old but it wont work for me so i switched it
Code:
 internal class Suicide2 : Command
    {
        public Suicide2() : base("Suicide", 0) { }
        protected override bool Process(Player player, RealmTime time, string[] args)
        { 
            player.HP = 0;
            player.Death(player.Name);
            player.UpdateCount++;
            return true;
        }
    }
same thing just removed some lines its pointless to have a usage thing when it should automatically kill you sorry for posting this btw :3
Quote Originally Posted by justiceryan View Post
Ik this is super old but it wont work for me so i switched it
Code:
 internal class Suicide2 : Command
    {
        public Suicide2() : base("Suicide", 0) { }
        protected override bool Process(Player player, RealmTime time, string[] args)
        { 
            player.HP = 0;
            player.Death(player.Name);
            player.UpdateCount++;
            return true;
        }
    }
same thing just removed some lines its pointless to have a usage thing when it should automatically kill you sorry for posting this btw :3
That's some serious necrobumb
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?