View Single Post
Plugin Info:     Modification:          Category:          Approver:   Brad (55)
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-07-2007 , 00:48   Water Fall Damage
Reply With Quote #1

Water Fall Damage 0.10
Thanks to v3x's No fall damage for making me realize to hook falling on prethink and check it on postthink.

Description
Just like in Counter-Strike: Source, if you fall into shallow water, you will take fall damage as you would if you regularly fell that distance. Only if you fall into deep, swimmable water, will you not take any fall damage. This should work for all Half-Life mods.

Cvars
waterfalldmg (default 1) - controls whether or not you take damage for falling into shallow water
Attached Files
File Type: sma Get Plugin or Get Source (waterfalldmg.sma - 2094 views - 923 Bytes)
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline