FightStyles and Realistic Damage
#2

hmm.... i think something like..
pawn Код:
if( GetPlayerFightingStyle(playerid) ==  FIGHT_STYLE_BOXING)
  {
             new Float:Armour;
            new Float:Health
              GetPlayerHealth(damagedid,Health);
            GetPlayerArmour(damagedid,Armour);
            if(Armour > 0) return Armour --;
             if(Armour == 0) return Health--;
           return 1;
   }
add this is to OnPlayerGiveDamage,or OnPlayerUpdate and switch FIGT_STYLE_BOXING, ( above) to the specific type... you want to
Reply


Messages In This Thread
FightStyles and Realistic Damage - by DJ_Shocker - 27.01.2013, 06:41
Re: FightStyles and Realistic Damage - by XStormiest - 27.01.2013, 06:48

Forum Jump:


Users browsing this thread: 2 Guest(s)