Injured when you either fall of roofs, or just get hit.
#4

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
    SetTimerEx("Injured", 15000, 0, "i", playerid);
    return 1;
}
Anywhere, Not in callbacks

pawn Код:
forward Injured(playerid);
public Injured(playerid)
{
    ClearAnimations(playerid);
    return 1;
}
Reply


Messages In This Thread
Injured when you either fall of roofs, or just get hit. - by davelord - 01.08.2012, 12:00
Re: Injured when you either fall of roofs, or just get hit. - by Misiur - 01.08.2012, 12:09
Re: Injured when you either fall of roofs, or just get hit. - by davelord - 01.08.2012, 12:19
Re: Injured when you either fall of roofs, or just get hit. - by Rudy_ - 01.08.2012, 12:20
Re: Injured when you either fall of roofs, or just get hit. - by linuxthefish - 01.08.2012, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)