SA-MP Forums Archive
Anims ids?! - 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: Anims ids?! (/showthread.php?tid=624392)



Anims ids?! - Martin4 - 15.12.2016

Can someone give me ids from anims in sa?
i mean anims like when character opens parachute, fly with parachute ..

http://prntscr.com/djwl4x



Re: Anims ids?! - Amads - 15.12.2016

I don't think SAMP animations have IDs unless you code it yourself, by default you can only get anim library and name. https://sampwiki.blast.hk/wiki/Animations - here you have a list of all animations, or better get an animation browser filterscript.


Re: Anims ids?! - Abagail - 15.12.2016

Quote:
Originally Posted by Amads
Посмотреть сообщение
I don't think SAMP animations have IDs unless you code it yourself, by default you can only get anim library and name. https://sampwiki.blast.hk/wiki/Animations - here you have a list of all animations, or better get an animation browser filterscript.
He is probably referring to the GetPlayerAnimationIndex function, which does return an ID.


Re: Anims ids?! - Amads - 15.12.2016

Oops, my bad.


Re: Anims ids?! - Martin4 - 16.12.2016

You can see on the screeshot that animations are ids..
(idk how to find more animations with ids like those)
Btw this anti cheat script.. I found it in history of forum. If someone know how i can find or you can tell me how i can find ids for animations or something like that msg me or comment here.
Btw thank you for paying me attention.


Re: Anims ids?! - Rdx - 16.12.2016

You can apply that animation by ApplyAnimation function and receive ID by GetPlayerAnimationIndex.