22.07.2012, 21:31
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
new Float:health;
GetPlayerHealth(playerid,health); // forgot the ;
if(health < 20.0)
{
ApplyAnimation(playerid,"PED","crckdeth2",4.1,1,1,1,1,1,1);
}
}
return 1;
}