Broken leg animation like on LSRP
#2

Do you know the parameters of this function?
(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
So, looking at your provided ApplyAnimation():
playerid=playerid
animlib[] = "PED"
animname[] = "FALL_fall"
fDelta=4.1
loop=0
lockx=1 (Should be 0)
locky=1 (Should be 0)
freeze=0
time=0 (Setting to 0 will start an infinite loop. Try using something like 750)

Код:
ApplyAnimation(playerid, "PED", "FALL_fall", 4.1, 0, 0, 0, 0, 750, 0);
(The last 0 is forcesync).

Please note I am not certain this will work, but I think it might. If the animation is going too long, decrease the time parameter.
Reply


Messages In This Thread
Broken leg animation like on LSRP - by CoachCarter - 25.08.2016, 19:49
Re: Broken leg animation like on LSRP - by Kwarde - 26.08.2016, 00:48
Re: Broken leg animation like on LSRP - by CoachCarter - 26.08.2016, 05:57
Re: Broken leg animation like on LSRP - by AMouldyLemon - 26.08.2016, 08:34
Re: Broken leg animation like on LSRP - by GoldenLion - 26.08.2016, 09:16
Re: Broken leg animation like on LSRP - by CoachCarter - 27.08.2016, 09:09

Forum Jump:


Users browsing this thread: 1 Guest(s)