Help with auto crack
#1

Well I got a little problem, I want to add a really sexy animation to my auto crack command, but the problem is, before this animation I had a non moving anim so it was repeating at the same postition, now the animation is different and it does move the player away. Well the problem is, I want the animation to preform only once when the player reaches 30 % of hp and then he just lays without repeating the animation again, please help.

-thx

Код:
{
	SetPlayerScore(playerid, GetPlayerMoney(playerid));

	new Float:hp;
    GetPlayerHealth(playerid, hp);
    if (hp < 30.0)
	{
 	ApplyAnimation(playerid, "MD_CHASE", "MD_BIKE_Lnd_Roll", 4.1,0,1,1,1,1);
	}
	return 1;
}
Reply
#2

Try This One Lol
Код:
{
	SetPlayerScore(playerid, GetPlayerMoney(playerid);

	new Float:hp;
    GetPlayerHealth(playerid, hp);
    if (hp < 30.0)
	{
 	ApplyAnimation(playerid, "MD_CHASE", "MD_BIKE_Lnd_Roll", 4.1,0,1,1,1,1);
	}
	return 1;
}
Reply
#3

You are a funny guy you know... if you aint got something usefull to post dont post at all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)