SA-MP Forums Archive
Animations - 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)
+--- Thread: Animations (/showthread.php?tid=445938)



Animations - itsCody - 23.06.2013

With some anims you can turn and stuff instead of freezing you completely. Is there a fix to this? Also, when I apply this animation to a user they move/teleport to random spots :/

pawn Код:
ApplyAnimation(id,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.0,1,1,1,1,1,1);



Re: Animations - Configuration - 23.06.2013

man you dont know how to explain this.


Re: Animations - Mafiaday - 23.06.2013

Try :

pawn Код:
ApplyAnimation(id,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.0,1,1,1,1,1,1);
TogglePlayerControllable(playerid,true);



Re: Animations - Mafiaday - 23.06.2013

Or some animations let you move. And others dontlet you move i think this is the problem.


Re: Animations - itsCody - 25.06.2013

Still doesn't solve the teleporting issues of the animation :/


Re: Animations - Mike_Peterson - 25.06.2013

Hey Cody,

There's a parameter in the ApplyAnimation function called 'freeze'.
Read more upon it: https://sampwiki.blast.hk/wiki/ApplyAnimation

Anyway, try this:
pawn Код:
ApplyAnimation(id,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1,1,1,1,0,1,1);
Kind regards,
Mike Peterson