Animation doesn't stop after 25 seconds
#4

Quote:
Originally Posted by Mugala
Посмотреть сообщение
use ApplyAnimationEx, instead of ApplyAnimation.
PHP код:
stock ApplyAnimationEx(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync)
{
    
ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
    
SetTimerEx("ClearAnims",time,0,"i",playerid);
}
forward ClearAnims(playerid);
public 
ClearAnims(playerid)
{
    
ClearAnimations(playerid);
    return 
1;
} 
Thankyou, so now I to this:

PHP код:
ApplyAnimation(playerid, "PED", "WALK_gang2", 4.0, 1, 1, 1, 1, 1, 1);
SetTimerEx("ClearAnims",25000,0,"i",playerid); 
?
Reply


Messages In This Thread
Animation doesn't stop after 25 seconds - by IndependentGaming - 01.04.2018, 12:53
Re: Animation doesn't stop after 25 seconds - by Mugala - 01.04.2018, 13:00
Re: Animation doesn't stop after 25 seconds - by Mugala - 01.04.2018, 13:03
Re: Animation doesn't stop after 25 seconds - by IndependentGaming - 01.04.2018, 13:28
Re: Animation doesn't stop after 25 seconds - by Mugala - 01.04.2018, 13:30
Re: Animation doesn't stop after 25 seconds - by IndependentGaming - 01.04.2018, 13:37
Re: Animation doesn't stop after 25 seconds - by Mugala - 01.04.2018, 13:40

Forum Jump:


Users browsing this thread: