How to make animation without hands getting stucked to the body
#1

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.
Reply
#2

https://sampwiki.blast.hk/wiki/ApplyAnimation
Reply
#3

I read that like 5 times
Reply
#4

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); 
Reply
#5

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.
Reply
#6

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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)