[Tool/Web/Other] Testing Player Animations [Quick advise] - 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: Tutorials (
https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tool/Web/Other] Testing Player Animations [Quick advise] (
/showthread.php?tid=629404)
Testing Player Animations [Quick advise] -
Toroi - 25.02.2017
This is not a tutorial. It's just a friendly advise for everyone.
I was looking for player animations to use on my server's actors, but it's hard to pick animations based on the name only. ("Police" "crm_drgbst_01", what the hell does that mean?)
While I was on it, I thought about a quick solution:
pawn Code:
CMD:playanim(playerid,o[])
{
new lib[32],anim[32];
if(sscanf(o,"ss",lib,anim)) return 0;
ApplyAnimation(playerid,lib,anim,4.1,0,0,0,0,2000,1);
return 1;
}
You may not be using ZCMD, but it should give you an idea.
Now all I have to do is:
And I get a nice preview of the animation.
I tried to find this in the tutorial section, but I did not find anything.
I wonder if it's because it is easy af.
Re: Testing Player Animations [Quick advise] -
SkyFlare - 26.02.2017
I actually need this +rep, this is actually so simple yet I didn't think of this, so much ideas in my head for my gamemode, makes you get writers-block, again awesome man!
Re: Testing Player Animations [Quick advise] -
Luis- - 26.02.2017
There's a ton of filterscripts that do this.
Re: Testing Player Animations [Quick advise] -
MustafaKemalAtaturk - 11.09.2018
Good job, mate. Useful.
Re: Testing Player Animations [Quick advise] -
KinderClans - 11.09.2018
Thanks. Small codes are always the best.
Re: Testing Player Animations [Quick advise] -
Undef1ned - 11.09.2018
Something useful.
Re: Testing Player Animations [Quick advise] -
CaptainBoi - 03.10.2018
Goodjob its ezy to check animations via that cmd.