SA-MP Forums Archive
Changing death 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: Changing death animation (/showthread.php?tid=273569)



Changing death animation - LZLo - 02.08.2011

how can i change the death animation?


AW: Changing death animation - samtey - 02.08.2011

Under the callback OnPlayerDeath, I think, add one of your favourite animations! https://sampwiki.blast.hk/wiki/Animations

I think you know how to add an animation?


Re: Changing death animation - LZLo - 02.08.2011

yeah, thanks.
I thought that, but i want to see somebody to writing this.
thanks again.


AW: Changing death animation - samtey - 02.08.2011

Hmm, I really have no experience with OnPlayerDeath, but it should be like this:

FOR EXAMPLE

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
ApplyAnimation(playerid,"ANIMATION_KIND", "ANIMATIONNAME",4.0,1,1,1,1,1);
Find the names of kind and name on the page I gave you! But I don't think, that "deathanimations" are available!