Animation ID of taking out an item?
#4

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
I use the block animation, I find it the closest:
PHP код:
ApplyAnimation(playerid"PED""FIGHTA_BLOCK"4.100004801); 
One thing tho! If the animation was applied while the player is running, they won't be able to stop until the animation is finished, it can be really bad in situations where you might fall from high places.
Hm, gonna try getting the sprint status by their velocity and then apply the animation? I.e:
PHP код:
new Float:xFloat:yFloat:zFloat:units;
GetPlayerVelocity(playeridxyz);
if(
floatsqroot(floatabs(floatpower(z2.0))) < 0.1552086)
 
//apply anim 
Note that I might have calculated horribly wrong.
Reply


Messages In This Thread
Animation ID of taking out an item? - by Meller - 16.09.2017, 11:21
Re: Animation ID of taking out an item? - by Eoussama - 16.09.2017, 11:31
Re: Animation ID of taking out an item? - by cuber - 16.09.2017, 11:36
Re: Animation ID of taking out an item? - by Meller - 16.09.2017, 11:42

Forum Jump:


Users browsing this thread: 2 Guest(s)