SA-MP Forums Archive
Please help with HP. - 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: Please help with HP. (/showthread.php?tid=218560)



Please help with HP. - Denisenko - 30.01.2011

Hello, maybe you can teach how to do that, if the person immediately removes the 10HP, he would some one minute animation.


Re: Please help with HP. - alpha500delta - 30.01.2011

I sueggest you to learn the basics of pawn since this is fairly easy.
Anyway you could use

GetPlayerHealth
SetTimer
ApplyAnimation
ClearAnimations
and KillTimer

Get a players health using GetPlayerHealth, then use Applynimation for an animation, set the timer to 60000(?)
And make a function for it. Inside that function you put KillTimer and ClearAnimations, and your done


Re: Please help with HP. - Denisenko - 30.01.2011

Please, make script.


Re: Please help with HP. - ricardo178 - 30.01.2011

I didn't understund what you want!


Re: Please help with HP. - Denisenko - 30.01.2011

please :X


Re: Please help with HP. - alpha500delta - 30.01.2011

Dude you will never learn it yourself if other people have to make all your scripts


Re: Please help with HP. - denisasxxl - 17.02.2011

Help, is the best RolePlay script!


Re: Please help with HP. - alpha500delta - 17.02.2011

Dude nice doubleaccounting and bumping -_-