Animation focused endless
#5

Where are you actually using SetTimerEx to call 'FuncaoHospital(id)'
You don't need a timer for the animation either... ApplyAnimation has a 'loop' parameter which will make the animation run continuously until stopped with ClearAnimations or another animation is played.

pawn Код:
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 1, 1, 1, 0, 0, 1); // Call this when a player is meant to get the animation

forward FuncaoHospital(id);
public FuncaoHospital(id) // When the player is discharged
{
    SetPlayerSpecialAction(id, 0);
    ClearAnimations(id);
    return 1;
}
Reply


Messages In This Thread
Animation focused endless - by SukMathcuck - 02.06.2015, 15:22
Re: Animation focused endless - by rappy93 - 02.06.2015, 16:00
Re: Animation focused endless - by SukMathcuck - 02.06.2015, 16:18
Re: Animation focused endless - by SukMathcuck - 02.06.2015, 22:30
Re: Animation focused endless - by Threshold - 03.06.2015, 09:14
Re: Animation focused endless - by rappy93 - 03.06.2015, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)