Change walking style on low hp
#2

pawn Код:
new
    Float:health;
    GetPlayerHealth(playerid, health);
if (health <= 10.0)
    {
        ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
    }
else (health > 10.0)
    {
        ClearAnimations(playerid);
    }
    return 1;
}
And actually I got this from sa-mp wiki, why don't you search more ?
Reply


Messages In This Thread
Change walking style on low hp - by Battlezone - 19.10.2013, 10:43
Re: Change walking style on low hp - by Wizzy951 - 19.10.2013, 10:47
Re: Change walking style on low hp - by Battlezone - 19.10.2013, 10:49
Re: Change walking style on low hp - by Wizzy951 - 19.10.2013, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)