15.05.2015, 19:06
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
if(weaponid == 22) // If the weapon used to damage is a 9mm. (Remove this if you want it to apply the animation if the player got hit with any weapon)
{
ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1, 1);
}
return 1;
}

