Animation Clearing
#4

Quote:
Originally Posted by jujuv
Посмотреть сообщение
Hello dannyk0ed,

I'm not a pro' at all but i'll try to help you at my best.

On your script, i can see:

pawn Код:
ApplyAnimation(playerid,"PED","KO_skid_front",4.0,0,1,1,1,0);
The official SAMP Wiki page says:

pawn Код:
ApplyAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)

// time : Timer in milliseconds. For a never ending loop it should be 0.
With your script, the anim' would be played during 1 milisecond before stoping and i guess what you want is to keep it going until you call ClearAnimations() .

To do so, you must replace the 1 by a 0 to make the anim played in an infinite loop.
pawn Код:
ApplyAnimation(playerid, "PED", "KO_skid_front", 4.0, 0, 1, 1, 0, 0);
Hoping i helped you

PS: Sorry if my enlish isn't perfect but i'm french.
Silly me.

Thank you very much. It has worked.

[QUOTE=Strier;2567178]
pawn Код:
timer DeathFall[800](playerid)
{
    stop InjuredFall[playerid];
    TogglePlayerControllable(playerid, 0);
    ApplyAnimation(playerid,"PED","KO_skid_front",4.0,0,1,1,1,0);
    ApplyAnimation(playerid,"PED","KO_skid_front",4.0,0,1,1,1,0);
    return 1;
}
Same for that. Thanks

I just stupidly copied the /lay Animination.
Reply


Messages In This Thread
Animation Clearing - by dannyk0ed - 13.06.2013, 00:30
Re : Animation Clearing - by jujuv - 13.06.2013, 00:53
Respuesta: Animation Clearing - by Strier - 13.06.2013, 00:59
Re: Re : Animation Clearing - by dannyk0ed - 13.06.2013, 01:01
Re : Animation Clearing - by jujuv - 13.06.2013, 05:00

Forum Jump:


Users browsing this thread: 2 Guest(s)