• Changing Fall Damage for a specific class
    1 replies, posted
So I am trying to set one of my classes on my DRP server to have no fall damage. I tried [CODE]ply:SetFallDamage(0)[/CODE] But I realized that SetFallDamage isn't a valid hook. If I could get some help that would be awesome thanks!
[url]http://wiki.garrysmod.com/page/GM/EntityTakeDamage[/url] hook and just check if they are the specific class and check if it's fall damage with this: [url]http://wiki.garrysmod.com/page/CTakeDamageInfo/IsFallDamage[/url] if they both are then just return true in that hook
Sorry, you need to Log In to post a reply to this thread.