Actor change position after animation - 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: Actor change position after animation (
/showthread.php?tid=616857)
Actor change position after animation -
ax1 - 11.09.2016
I apply animation to an actor.
Код:
ApplyActorAnimation(Actor, "SMOKING", "M_smk_loop", 4.1, 1, 1, 1, 1, 0);
I go to his position, he isnt there, he's in other position (~80 or so meters away). I go far away, come back - actor is in the place he is supposed to be and he isn't moving, just doing his animation. And same process repeats nearly each time I leave and come back
Re: Actor change position after animation -
Mister0 - 11.09.2016
try
ApplyActorAnimation(Actor, "SMOKING", "M_smk_loop", 4.1, 1, 0,0, 1, 0);