How to apply animation - 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: How to apply animation (
/showthread.php?tid=391405)
How to apply animation -
jakejohnsonusa - 10.11.2012
So I tried to apply this animation found in the animations include, but When I tried it it didn't show the animation. It knew I was doing one, but It didn't show the actual animation right. What did I do wrong with this:
Код:
if(strcmp(cmd, "/come", true) == 0) {
LoopingAnim(playerid,"PED","CopTraf_Come ",4.0,0,0,0,0,0);
return 1;
}
I am a very beginner scripter, so help is excellent, and helps me to become a better scripter.
Thanks,
jakejohnsonusa
Re: How to apply animation -
nmader - 10.11.2012
https://sampwiki.blast.hk/wiki/ApplyAnimation
This may help quite a bit as you were merely looping it, but not playing it.
Re: How to apply animation -
Glad2BeHere - 10.11.2012
this is extra sensitive u the that pace u have right after come delete that space
if(strcmp(cmd, "/come", true) == 0) {
LoopingAnim(playerid,"PED","CopTraf_Come ",4.0,0,0,0,0,0);
return 1;
}
pawn Код:
LoopingAnim(playerid,"PED","CopTraf_Come",4.0,0,0,0,0,0);
Problem solved
Re: How to apply animation -
jakejohnsonusa - 10.11.2012
Also do I need to define the animations? Some of my animations work fine, but others do not work....