12.05.2018, 09:22
Hmm, on that line there isn't issuerid, or i miss something?
Код:
if(!ignore_armour && weaponid != WEAPON_COLLISION && weaponid != WEAPON_DROWN && weaponid != WEAPON_CARPARK && (!s_DamageArmourToggle[0] || (s_DamageArmour[weaponid][0] && (!s_DamageArmourToggle[1] || ((s_DamageArmour[weaponid][1] && bodypart == 3) || (!s_DamageArmour[weaponid][1]))))))
{
if (amount <= 0.0)
{
amount = s_PlayerHealth[playerid] + s_PlayerArmour[playerid];
}
s_PlayerArmour[playerid] -= amount;
}
else
{
if (amount <= 0.0)
{
amount = s_PlayerHealth[playerid];
}
s_PlayerHealth[playerid] -= amount;
}

