I have never seen a server that doesn't have this with death.
If the server really lacks this, just add c.startAnimation(836); to applydead. No need to make method for this line.
|
Alot of people have been asking how to add death animations for players in their server.
First declare this void. Playerassistant.java
Spoiler for deathAnim:
The gfx is Optional but if you want to add one, put the gfx id in the parenthesis you will also have to uncomment it by removing the "//" in front of it.
and under applyDead() { add:
deathAnim();
You can also change this around by using a different animation ID, but the one I have provided is the generic one, in most servers.
I do realise this is extremely simple but this is my first Snippet, and I am new at Java
This is spoon fed. If you have errors, post them I will be more than happy to help. I do realise there are simpler ways of doing this, but it looks more professional in my opinion. Good luck with all your servers, be sure to post if you use this.
I have never seen a server that doesn't have this with death.
If the server really lacks this, just add c.startAnimation(836); to applydead. No need to make method for this line.
with this you can do an add item take away points, give item, etc, just by declaring 1 line in apply dead. It just cleans up the method, but I see alot of servers where you dont have an anim or gfx, and you just appear at the respawn location. So if you don't like it that's fine, and if you do I'm glad it's there. I released it because I've seen like 4 people asking in help section and if you google it there's no guide, so, here it is.
Wow you people fight a lot
On topic: Good work anyways there comment is true as well but still your helping the community & that's all that matters hope to see more from you.
Thanks for this, really needed ;P
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |