SA-MP Forums Archive
Animation problem - 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: Animation problem (/showthread.php?tid=327497)



Animation problem - Xaviour212 - 21.03.2012

I has make a command with a animation

pawn Код:
CMD:acjump(playerid, params[])
{
       ApplyAnimation(playerid, "DAM_JUMP", "DAM_Launch", 4.1, 0,1, 1, 1, 1, 1);
       return 1;
}
I make it for a dive, but when I fall from building with the anim, the anim will be stopped

My question is how to make this anim not stopped when I fall from building ?

Ty... Sorry for my bad english


Re: Animation problem - Faisal_khan - 21.03.2012

This is the parameter for ApplyAnimation:
pawn Код:
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
Just go through it and try to understand it, you will definitely get it.
Wish you Luck.