How to apply animation
#1

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
Reply
#2

https://sampwiki.blast.hk/wiki/ApplyAnimation
This may help quite a bit as you were merely looping it, but not playing it.
Reply
#3

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
Reply
#4

Also do I need to define the animations? Some of my animations work fine, but others do not work....
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)