On weapon hit play animation.
#2

PHP код:
public OnPlayerTakeDamage(playeridissueridFloat:amountweaponidbodypart)
{
            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.1111111);
            }
            return 
1;

Reply


Messages In This Thread
On weapon hit play animation. - by Zloto - 15.05.2015, 17:35
Re: On weapon hit play animation. - by AdHaM612 - 15.05.2015, 19:06

Forum Jump:


Users browsing this thread: 1 Guest(s)