08-24-2021, 07:09 PM
i have done it
Code:
hook.Add("EntityTakeDamage", "ReduceFallDamage", function(ent, dmginfo)
if ent:IsPlayer() and dmginfo:IsFallDamage() then
dmginfo:ScaleDamage(0.25) --Fall damage multiplier
end
end)