SA-MP Forums Archive
How to make animation without hands getting stucked to the body - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to make animation without hands getting stucked to the body (/showthread.php?tid=277780)



How to make animation without hands getting stucked to the body - KfirRP - 19.08.2011

I made this animation:
ApplyAnimation(playerid,"GANGS","prtial_gngtlkA",4 .1,0,1,1,1,1);
It works, but at the end the hands are stuck to the body.

I tried removing the "freeze" but it makes you unmoveable during the animation.
Also made ClearAnimations but clearanimations makes you stand up.


Re: How to make animation without hands getting stucked to the body - =WoR=G4M3Ov3r - 19.08.2011

https://sampwiki.blast.hk/wiki/ApplyAnimation


Re: How to make animation without hands getting stucked to the body - KfirRP - 19.08.2011

I read that like 5 times


Re: How to make animation without hands getting stucked to the body - =WoR=G4M3Ov3r - 19.08.2011

Quote:
Originally Posted by KfirRP
Посмотреть сообщение
I read that like 5 times
PHP код:
ApplyAnimation(playerid,"GANGS","prtial_gngtlkA",4 .1,0,1,1,1,1); 
Try this,

PHP код:
ApplyAnimation(playerid,"GANGS","prtial_gngtlkA",4 .1,1,1,1,1,1); 



Re: How to make animation without hands getting stucked to the body - Riddick94 - 19.08.2011

You made this animation now looping. He won't loop to stop animation normal and make movable.

You need to create variable boolUseAnim[MAX_PLAYERS]; then when player using animation set variable to true and SetTimerEx. After this in public of SetTimerEx set variable to false and ClearAnimations(playerid); or something you wan't.

This way players making animations to Role Play's server to let player move with anim chat and hands are not frozen.


Re: How to make animation without hands getting stucked to the body - KfirRP - 19.08.2011

Okay, I'll use ClearAnimations simply. Just for example, ls-rp.com - you can crouch and have the anim without getting it auto-standing (clearanimations make you stand up)