SA-MP Forums Archive
[FilterScript] Animation explorer - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Animation explorer (/showthread.php?tid=181333)



Animation explorer - Rachael - 05.10.2010

I was asked by players to include more animations in my script, so I made a filterscript for them to preview them, using the new 0.3b animation commands ( I made a version of this for 0.3a, I have a pastebin of the 3a version below )



The filterscript uses sscanf2, link below, but is easily converted to whatever system you use.
https://sampforum.blast.hk/showthread.php?tid=120356
also zcmd, but again, easy to convert to another command system.
https://sampforum.blast.hk/showthread.php?tid=91354

This filterscript allows you to search the animation database using partial library and animation names. You can also find a full list of animation libraries and names here.
https://sampwiki.blast.hk/wiki/Animations


0.3b version Pastebin
http://pawn.pastebin.com/wKLvw5XS

0.3a version Pastebin
http://pawn.pastebin.com/WwnUj8Y5

You may have to edit the indentations if you copy from pastebin, because I am lazy.


Re: Animation explorer - willsuckformoney - 05.10.2010

Looks nice, don't think anyone has made a Animation Explorer before.


Re: Animation explorer - Angelus~ - 05.10.2010

Very nice, a useful add-on


Re: Animation explorer - royal_king - 05.10.2010

Very nice very useful too! thanks


Re: Animation explorer - [03]Garsino - 05.10.2010

Nice work!


Re: Animation explorer - smeti - 05.10.2010

Very nice.


Re: Animation explorer - Pghpunkid - 05.10.2010

I modified this to use Strtok, and strfind, as well as a search for library names. If Rachael permits, ill upload it here.


Re: Animation explorer - Calgon - 05.10.2010

Quote:
Originally Posted by Pghpunkid
Посмотреть сообщение
I modified this to use Strtok, and strfind, as well as a search for library names. If Rachael permits, ill upload it here.
Why would you change the code to use a more inefficient method?


Re: Animation explorer - Pghpunkid - 06.10.2010

Not everyone uses Zcmd or sscanf. Either way.. its a fraction of a second slower.. if that. But this topic isnt about efficiency.


Re: Animation explorer - Rachael - 06.10.2010

anyone can edit this any way they like, and if you can setup a download I will hapilly edit the OP and put in credits etc.