animation loop
#1

How can I stop looping the animation on OnPlayerUpdate(playerid). Animation repeat constantly...

Код:
new Float:Health;
    GetPlayerHealth(playerid, Health);
    if (Health <= 20.0)
    {
        LOWHP[playerid] = 0;
        if(LOWHP[playerid] == 0)
		{
	 		ApplyAnimation(playerid, "KNIFE", "KILL_Knife_Ped_Die",9.1,0,1,1,1,1);
	 		LOWHP[playerid] = 1;
	 		return 1;
		}
		if(LOWHP[playerid] == 1)
		{
		    return 1;
  		}
	}
Reply


Messages In This Thread
animation loop - by Snich - 28.11.2014, 14:53
Respuesta: animation loop - by Snich - 28.11.2014, 15:25
Re: animation loop - by Sellize - 28.11.2014, 15:31
Re: animation loop - by PowerPC603 - 28.11.2014, 15:57
Respuesta: Re: animation loop - by Snich - 28.11.2014, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)