Animation doesn't stop after 25 seconds
#3

use ApplyAnimationEx, instead of ApplyAnimation.
PHP код:
stock ApplyAnimationEx(playeridanimlib[], animname[], Float:fDeltalooplockxlockyfreezetimeforcesync)
{
    
ApplyAnimation(playeridanimlibanimnamefDeltalooplockxlockyfreezetimeforcesync);
    
SetTimerEx("ClearAnims",time,0,"i",playerid);
}

forward ClearAnims(playerid);
public 
ClearAnims(playerid)
{
    
ClearAnimations(playerid);
    return 
1;

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: 1 Guest(s)