Login to ZARP
|
function ReduceFallDamage(ent, inflictor, attacker, amount, dmginfo)
if ent:IsPlayer() and dmginfo:IsFallDamage() and (ent:Team() or 0) == 2 then
dmginfo:SetDamage(0)
end
end
hook.Add("EntityTakeDamage", "RemoveFallDamage", ReduceFallDamage)