Animation
#1

Hi,, does anyone know the animation like the skin does a backflip and falls down on the ground like a car hit him? he fly a few meters back, really need this....
Reply
#2

AHAHAHAHA
Reply
#3

pawn Код:
CMD:lifejump(playerid, params[])
{
ApplyAnimation(playerid,"PED","EV_dive",4.0,0,1,1,1,0);
return 1;
}
It's usually called "life jump", but whatever you wish to do with it, the animation is called EV_dive.
Reply
#4

Something like a ragdoll like in gta4 when you got hit by a car you flew away? Hmm @twizted how about if a car hits him? can the animation you posted be applied? without typing the command.

Is there any callback like IsVehicleHitPlayer? lol
Reply
#5

I dont really know, i punched the admin and flew away a few meters, am going to do this but i dont know the animation.....
Reply
#6

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;
}
I did not even check if it works, @iBanner.
Reply
#7

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;
}
Reply
#8

Hm... Almost this one but he is flying back instead of forward.....
Reply
#9

Bump
Reply
#10

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)