Quote:
Originally Posted by Dayrion
What I used to clearn anim:
PHP код:
IsCrounching(playerid)
return (GetPlayerAnimationIndex(playerid) == 1159 || GetPlayerAnimationIndex(playerid) == 1274 ? true : false);
forward ClearAnimations(playerid);
public ClearAnimations(playerid)
{
if(IsCrounching(playerid))
ApplyAnimation(playerid, "PED", "GUNCROUCHFWD", 4.1, 0, 0, 0, 0, 1, 1);
else
ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.1, 0, 0, 0, 0, 0);
return 1;
}
This should work.
|
Nope still me animation doesn't disappear. Have other ideas?