Garry's Mod
Hunter SWEP
Ghost Fysche 12 JUN 2018 a las 12:06
fall damage issue code
fixed your fall damage problem messing with the code

put this in your if ( SERVER ) then

local function ReduceFallDamage(ent, dmginfo)
if ent:IsPlayer() and ent.ShouldReduceFallDamage and dmginfo:IsFallDamage() then
dmginfo:ScaleDamage(.5w)
end
end
function SWEP:Deploy()
self.waitingwep = 0
self.Weapon:EmitSound("weapons/hunter/growl.wav")
self.Owner.ShouldReduceFallDamage = true
end
function SWEP:Holster()
self.Owner.ShouldReduceFallDamage = false
return true
end
< >
Mostrando 1-1 de 1 comentarios
Lobotomy 3 MAY 2019 a las 16:13 
Thats smart too bad im stupid at that :tank:
< >
Mostrando 1-1 de 1 comentarios
Por página: 1530 50