01.05.2015, 08:55
1. Use https://sampwiki.blast.hk/wiki/SetActorHealth
2. Use https://sampwiki.blast.hk/wiki/OnPlayerGiveDamageActor to check if actors hp is 0, than destroy actor, recreate, set his health back, applyanimation or whatever you want.
But there is still one problem, OnPlayerGiveDamageActor is not called if you apply animation on actor.
2. Use https://sampwiki.blast.hk/wiki/OnPlayerGiveDamageActor to check if actors hp is 0, than destroy actor, recreate, set his health back, applyanimation or whatever you want.
But there is still one problem, OnPlayerGiveDamageActor is not called if you apply animation on actor.