Simple Help [+rep for helpers]
#7

pawn Code:
public OnPlayerUpdate(playerid)
{
          new Float:health;
          GetPlayerHealth(playerid, health);
          if(health <= 20)
          {
                                    ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
          }
          if(health >= 30)
          {
                                   ClearAnimations(playerid);
                                   SetPlayerSpecialAction(i, SPECIAL_ACTION_NONE);
          }
          return 1;
}
Reply


Messages In This Thread
Simple Help [+rep for helpers] - by howtodo - 07.03.2014, 07:18
Re: Simple Help [+rep for helpers] - by XK - 07.03.2014, 07:35
Re: Simple Help [+rep for helpers] - by mahardika - 07.03.2014, 07:35
Re: Simple Help [+rep for helpers] - by howtodo - 07.03.2014, 07:46
Re: Simple Help [+rep for helpers] - by CrazyFrenzy - 07.03.2014, 07:51
Re: Simple Help [+rep for helpers] - by howtodo - 07.03.2014, 07:56
Re: Simple Help [+rep for helpers] - by XK - 07.03.2014, 07:57
Re: Simple Help [+rep for helpers] - by howtodo - 07.03.2014, 07:59
Re: Simple Help [+rep for helpers] - by CrazyFrenzy - 07.03.2014, 07:59
Re: Simple Help [+rep for helpers] - by howtodo - 07.03.2014, 08:02

Forum Jump:


Users browsing this thread: 2 Guest(s)