Announcement

Collapse
No announcement yet.

MobKilledPlayer help

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • MobKilledPlayer help

    down to this error now and Im stuck if anybody has ideas or can fix this and clean it up a little or help Me fix it that would be awesome added the file and it has ///comments in as to what We have done getting this to work
    CS0501: Line 28: 'Server.AnnounceDeath1.OnDeath(Server.PlayerDeathE ventArgs)' must declare a body because it is not marked abstract, extern, or partial
    Attached Files

  • #2
    Got it fixed it needs this to work
    case 3:
    args.Mobile.PlaySound(256);
    World.Broadcast(0x4B9, true, "{0} Has Succumbed To Their Wounds And Has Perished!", args.Mobile.Name);
    break;

    }

    }

    else
    {

    switch (Utility.Random(4))
    {
    case 0:
    args.Mobile.PlaySound(256);
    World.Broadcast(0x4B9, true, "Death Has Come For {0} May May The Seek Vengeance Against {1}", args.Mobile.Name, c.Name);
    break;

    case 1:
    args.Mobile.PlaySound(256);
    World.Broadcast(0x4B9, true, "{0} Has Lost their Life In A Battle With {1}", args.Mobile.Name, c.Name);
    break;

    case 2:
    args.Mobile.PlaySound(256);
    World.Broadcast(0x31, true, "Death Comes for Us all, But on this Day, For {0}.Thier Killer Is {1}", args.Mobile.Name, c.Name);
    break;

    case 3:
    args.Mobile.PlaySound(256);
    World.Broadcast(0x4B9, true, "{0} Has Succumbed To Their Wounds From Thier Epic Battle With {1}", args.Mobile.Name, c.Name);
    break;

    }
    }

    }
    }
    }
    }

    Comment

    Working...
    X