Autocrack
#2

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;
}
Reply


Messages In This Thread
Autocrack - by DeeCaay - 22.07.2012, 21:17
Re: Autocrack - by SnG.Scot_MisCuDI - 22.07.2012, 21:31
Re : Re: Autocrack - by DeeCaay - 22.07.2012, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)