17.09.2011, 22:01
You are right, It can be solved with a boolean variable.
pawn Код:
public OnPlayerUpdate(playerid)
{
if(booleanvaribale){
if(health <= 29) {
ApplyAnimationEx(playerid, "CRACK", "crckdeth2", 4.0, 0, 1, 1, 1, 1);
booleanvariable = false;
}
}
}