SA-MP Forums Archive
tut - 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: tut (/showthread.php?tid=635854)



tut - asri - 15.06.2017

can anyone show me tutorial about apply actor animation.


Re: tut - Toroi - 15.06.2017

What part of applying an animation to an actor do you need a tutorial for?

https://sampwiki.blast.hk/wiki/ApplyActorAnimation


Re: tut - asri - 15.06.2017

im confuse because it must put ongamemodeinit or other places


Re: tut - Whatname - 15.06.2017

no only in the gamemode script


Re: tut - asri - 15.06.2017

do you mean put any callback


Re: tut - Hansrutger - 15.06.2017

You put it wherever you want it to be activated. If you want them to do the animation when they spawn, then make them do the animation directly after they spawn. If you want them to do it after a player types in a command, put it within the command brackets. As long as the actorid is saved somewhere globally, you can use it anywhere.