When your leg get shot
#1

When your leg get shot by sniper, then there should be a animation that im shocked from bullet, how?
Reply
#2

Try this:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && (bodypart == 8 || bodypart == 7))
    {
        //Apply animation here
    }
    return 1;
}
Reply
#3

Quote:
Originally Posted by awsomedude
Посмотреть сообщение
Try this:
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
    if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && (bodypart == 8 || bodypart == 7))
    {
        //Apply animation here
    }
    return 1;
}
thanks dude

can you suggest good leg hit animation on rp server?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)