26.11.2016, 13:05
In the callback OnPlayerTakeDamage. The amount of damage of armour and health is combined so can i get them seperately the amount of health and armour?
new Float:armour;
GetPlayerArmour(playerid, armour);
if(armour > 0.0)
{
if(armour >= amount)
{
//full of Armour amount
}
else
{
//amount > Armour had
}
}
else
{
//health amount
}