SA-MP Forums Archive
OnPlayerDeath ANIMATION! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerDeath ANIMATION! (/showthread.php?tid=275428)



OnPlayerDeath ANIMATION! - samtey - 09.08.2011

Hi!

I would like, that my player dies somehow else! Like when he get shot by someone, he won't only fall and die, no! Those real animations where people are dieing! Pls help me!


Re: OnPlayerDeath ANIMATION! - Skidmarks - 09.08.2011

What is it you want? Explain it clearly and i will make it for you.


Re: OnPlayerDeath ANIMATION! - PhoenixB - 09.08.2011

Quote:
Originally Posted by Skidmarks
Посмотреть сообщение
What is it you want? Explain it clearly and i will make it for you.
I am guessing he wants his OnPlayerDeath to play a better animation, well thats what im guessing anyway


AW: OnPlayerDeath ANIMATION! - samtey - 09.08.2011

Hmm, I can do it myself, it's simple I think! BUT THANKS! ^^

I want: You are shooting me! When my health is 0, I want that my player dies in another way! With another animation!


Re: OnPlayerDeath ANIMATION! - Snipa - 09.08.2011

https://sampwiki.blast.hk/wiki/ApplyAnimation

https://sampwiki.blast.hk/wiki/Animations


AW: OnPlayerDeath ANIMATION! - samtey - 09.08.2011

So under OnPlayerDeath I should ApplyAnimation?

But there isn't a death animation!


Re: OnPlayerDeath ANIMATION! - WoodPecker - 09.08.2011

Make something when you have HP 0 then it will apply an animation to the player.


Re: OnPlayerDeath ANIMATION! - grand.Theft.Otto - 09.08.2011

I think you want the animation when someone gets cut on the throat with a knife ?

Quote:
Originally Posted by SAMP WIKI
KNIFE

* KILL_Knife_Ped_Damage
* KILL_Knife_Ped_Die
* KILL_Knife_Player
* KILL_Partial
* knife_1
* knife_2
* knife_3
* Knife_4
* knife_block
* Knife_G
* knife_hit_1
* knife_hit_2
* knife_hit_3
* knife_IDLE
* knife_part
* WEAPON_knifeidle
That is the KNFIE section of the animations page.

I'm sure KILL_Knife_Ped_Die is a good dying animation. Try it.


AW: OnPlayerDeath ANIMATION! - samtey - 09.08.2011

Are there other animations, too?

Also, how to add them under OnPlayerDeath?


Re: OnPlayerDeath ANIMATION! - 0_o - 09.08.2011

Use OnPlayerUpdate Or 1 Second Timer Update. Check When Your Player Health Is almost 0 Apply Animation. And Then SetTimer And After That Timer He Dies.