Animation Browser (n_animation) -
nickdodd25 - 07.01.2017
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!)
Re: Animation Browser (n_animation) -
SickAttack - 07.01.2017
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).
Re: Animation Browser (n_animation) -
CantBeJohn - 07.01.2017
Pretty useful, thanks.
Re: Animation Browser (n_animation) -
Eoussama - 07.01.2017
Omg, thanks for releasing, keep it up
Re: Animation Browser (n_animation) -
SyS - 07.01.2017
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
Re: Animation Browser (n_animation) -
nickdodd25 - 07.01.2017
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.
Re: Animation Browser (n_animation) -
JustMe.77 - 08.01.2017
Well simple and good, but the released one with textdraws is also not bad (if you know which I mean)