SA-MP Forums Archive
animations and npcs... - 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: animations and npcs... (/showthread.php?tid=173936)



animations and npcs... - pmk1 - 04.09.2010

when i connect a npc, can i apply to him an animation or i have to record the npc with the animation already? because i tried ApplyAnimation and the npc is still not making anim... thanks


Re: animations and npcs... - VScan - 04.09.2010

Hi,

do u run a rec file while tryin to apply anim?


Re: animations and npcs... - Dime - 04.09.2010

-.- search


Re: animations and npcs... - pmk1 - 04.09.2010

yes i run a rec..(standing guy) is that the problem?


Re: animations and npcs... - VScan - 04.09.2010

i think so, because i tryed to apply smoke in car while running a rec file and it is the same prob, after the npc ends his ride, it will be possible, else u have to record anims, i think.


Re: animations and npcs... - pmk1 - 04.09.2010

no, i found it out, just have to applyanimation onplayerspawn and do the same on onplayerstreamin. it is now fixed


Re: animations and npcs... - sTeAlthy [Brandon Brown] - 04.09.2010

Guys stop telling people to search for shit in this forum. This is scripting discussion, people have the right to ask questions about scripting in here.

Anyways. There is a way to do this. How ever I do not know how to apply an animation to a NPC, post your code here and someone might be able to help you.


Re: animations and npcs... - pmk1 - 04.09.2010

it's alright, i said i found it out :P thanks anyway haha, and about those who tell me to search.... I just F*** them. No seriously poeple must search a bit before posting, cuz sometimes the asnwers are on other topics... but in my case i searched and didn't found it. so i posted