27.01.2013, 06:48
hmm.... i think something like..
add this is to OnPlayerGiveDamage,or OnPlayerUpdate and switch FIGT_STYLE_BOXING, ( above) to the specific type... you want to
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;
}