Animation problem - 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: Animation problem (
/showthread.php?tid=655475)
Animation problem -
div - 22.06.2018
Hello, i'm working on robbery system, when a player comes near an object and presses a command, an animation is applied, but I'm facing a problem.
The animation doesn't stop, and I'm completely noob in using timer.
Also, the skin movies a bit while robbing, a fixed amount of distance like 0.5 metres..
PS: I had added the time of the animation to play in ApplyAnimation.
Re: Animation problem -
coool - 22.06.2018
Have you set loop to 0? Did you try ClearAnimations?
Re: Animation problem -
div - 22.06.2018
Managed to fix myself.. thanks for help!
Shukriya xD