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



Changing the death animation? - Twisted_Insane - 12.05.2012

First of all, 'sup y'all?

I want to have different death animations which can switch randomly. I don't want to have for any death the same animation. But I'm not sure on how to do it, since I've done this once and everything has been fucked up then. Am I even able to change the death animation? If yes, how?

Thanks for your help!


Re: Changing the death animation? - iGetty - 12.05.2012

Could you not do a health check every 1 second?

If their health is below say, 5%, you could make an animation be performed and set their health to 0?

Just an idea.


Re: Changing the death animation? - Twisted_Insane - 12.05.2012

Nah, it'll become a DM-server, and every single HP counts to survive 'n fight, lol. So maybe checkin' it when the health reached '0'? Gimme a small kick and start off the example...


Re: Changing the death animation? - Twisted_Insane - 13.05.2012

Small bump!