05.05.2014, 03:40
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;
}