[Include] Animation Browser (n_animation)
#1

Animation Browser (n_animation)



About.

So i needed a simple animation browser for my server, the ones that are released on here are extremely buggy or do not have all available animations or they totally suck (Worse than this release). So i made my own that sucks slightly less!



How to use.

Just simply call this...

pawn Код:
ShowAnimsDialog(playerid);
There is an example filterscript for anyone that would have a issue figuring out how to do that. It is located in the filterscripts folder. If anyone would like to see this on a live server you may join samp.teamshrimp.com:7777 and type /anims to test it.



How it works.

When you call ShowAnimsDialog(playerid), a dialog will open showing all animation library. Select a library and it will then show you every available animation in that library. Select an animation, and guess what? That animation will play! Holy crap right? But wait it gets even better. Instead of selecting an animation, if you hit escape or cancel, you get sent back to the full list of librarys. Ermerferkingerd!! Witchcraft!



How to install.

Place includes/includes/n_animation in your includes directory. Place the /scriptfiles/Anims folder in your scriptfiles directory. Include n_animation in your gamemode or filterscript. Make command or something to call ShowAnimsDialog(playerid). Compile. Start server. Play animations and pickup all the chicks/dudes/ whatever weird stuff you are all into. Profit?



Downloads and source.

https://github.com/nickdodd25/n_animation



Agreements/Licences or somethin like that.

So do what you would like with it, but do not claim this as your own. If you do claim this as your own, your a idiot as there is better things to claim as your own, like ngrp (People say they uniquely download it every day!)
Reply
#2

Keep up the good work.

-----

pawn Код:
format(anims_String,sizeof(anims_String),"%s%s\n",anims_String,sAnimList[i]);
That is very slow, consider using format + strcat (format the necessary, then append it to the main string).
Reply
#3

Pretty useful, thanks.
Reply
#4

Omg, thanks for releasing, keep it up
Reply
#5

Please take a look @ your hooking part and your disconnect callback I'm not home so I can't push a commit

Anyways good job
Reply
#6

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
Please take a look @ your hooking part and your disconnect callback I'm not home so I can't push a commit

Anyways good job
Thanks for finding that. Looks like i forgot to change the hook when i switched it to onplayerdisconnect.
Edit: Fixed now, thanks again!

And thanks for the positive reviews everyone.
Reply
#7

Well simple and good, but the released one with textdraws is also not bad (if you know which I mean)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)