20.05.2014, 21:50
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.
}
}
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);
}