• Fall Damage Help
    2 replies, posted
I recently started coding my own gamemode and all things I have tried on the internet for my fall damage to always be 0 did not work. I have derived my gamemode from base, I don't know if thats why it is doing this but I really need someone to help with this. I tried this and variations of it! [CODE]function GM:GetFallDamage( ply, speed ) return 0 end[/CODE]
[code]hook.Add("GetFallDamage", "NoFallDamage", function(ply, speed) return 0 end)[/code]
I put this in init.lua, correct? [editline]16th June 2014[/editline] [QUOTE=code_gs;45126755][code]hook.Add("GetFallDamage", "NoFallDamage", function(ply, speed) return 0 end)[/code][/QUOTE] THANK YOU
Sorry, you need to Log In to post a reply to this thread.