blob: 9da980568783f89a8054524af0a71326b8aa0bd4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
function GM:GetFallDamage(ply, speed)
--print("Fall dammage detected:" .. speed)
if(ply:HasItem("Feather-fall Rune",1)) then
ply:RemoveItem("Feather-fall Rune",1)
return 0
else
return speed/11
end
end
|