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
#2

I don't think you can. How-ever, there may be some particle effects that may help you. Check out: http://gta-sa-mp.de/forum/index.php?...egory&objID=59
Reply
#3

Quote:
Originally Posted by Abagail
Посмотреть сообщение
I don't think you can. How-ever, there may be some particle effects that may help you. Check out: http://gta-sa-mp.de/forum/index.php?...egory&objID=59
Please give me an exmaple of what you say "particle effects".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)