12.08.2011, 09:07
Wait i'll fix this post :S
EDIT: Ok try this:
EDIT: Ok try this:
pawn Код:
forward JustACheck(playerid);
public OnPlayerSpawn(playerid)
{
SetTimerEx("JustACheck", 1000, true, "i", playerid);
return 1;
}
public JustACheck(playerid)
{
new Float:health;
GetPlayerHealth(playerid,health);
if(health < 30.0)
{
ApplyAnimation(playerid,"PED","crckdeth2",2.1,1,1,1,1,1,1);
}
return 1;
}