Actors does only anim once - 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: Actors does only anim once (
/showthread.php?tid=610876)
Actors does only anim once -
IndependentGaming - 29.06.2016
Hello, I have made a couple of actors in my gamemode that does animations I have edited the loop to 1 so they keep doing the animation but for some reason when I stand next to the actor the actor does the anim only once and then just freeze in their animation.
This is one of them:
Код:
Box = CreateActor(81, 1273.397460, 235.588867, 19.554687, 241.610015); //Boxer JOB
ApplyActorAnimation(Box, "GYMNASIUM", "GYMshadowbox", 4.1, 0, 0, 0, 1, 0); // box anim
SetActorVirtualWorld(Box, 0);
The green 1 is the loop as you can see, if I put it on 0 they wont do any animation.
How can I fix this problem so they keep doing the animation ?
Re: Actors does only anim once -
IndependentGaming - 29.06.2016
Please Ignore this, I was just to fast with asking for help, problem has been resolved.
Thanks anyway guys!
Re: Actors does only anim once -
FuNkYTheGreat - 29.06.2016
Код:
Box = CreateActor(81, 1273.397460, 235.588867, 19.554687, 241.610015); //Boxer JOB
ApplyActorAnimation(Box, "GYMNASIUM", "GYMshadowbox", 4.1, 0, 1, 0, 1, 0); // box anim
SetActorVirtualWorld(Box, 0);