Bots & 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Bots & Animations (
/showthread.php?tid=162225)
Bots & Animations -
Koruda - 22.07.2010
Hi Guys
It's the first time i use NPC's and i want to make my bot sit down.
I already tried ApplyAnimation and SetPlayerSpecialAction, but my bot refuses to sit down.
Greetz
Koruda
Re: Bots & Animations -
Koruda - 23.07.2010
........
Re: Bots & Animations -
Vince - 23.07.2010
Had the same problem.
You need to preload the animation library first when the NPC spawns (ApplyAnimation). Then apply the same animation again on the NPC at OnPlayerStreamIn. Should work.
Re: Bots & Animations -
Koruda - 25.07.2010
Thx man
Greetz
Koruda