09.04.2014, 08:51
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID && weaponid == 49 && bodypart == 3) //work with the bodypart{
ApplyAnimation(playerid,"PED","EV_dive",4.0,0,1,1,1,0);
SetPlayerHealth(playerid, 10.0);
}
return 1;
}

