How to take/change player damage
#1

Hi all
How can i change the damage blood action/animation of taking player damage from weapon x to weapon y?
For example, if player take damage by boxing, it's need to look as damaged from katana.

This is not good, because it only change the animation without the blood actions.
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID) // If not self-inflicted
    {            
        ApplyAnimation(playerid, animlib, animname, 4.0, 0, 0, 0, 0, 0);
}
}
Reply


Messages In This Thread
How to take/change player damage - by sagosagi1 - 20.05.2014, 21:50
Re: How to take/change player damage - by Abagail - 20.05.2014, 21:53
Re: How to take/change player damage - by sagosagi1 - 20.05.2014, 22:02

Forum Jump:


Users browsing this thread: 2 Guest(s)