Garry's Mod Wiki

Revision Difference

GM:OnEntityWaterLevelChanged#524914

<function name="OnEntityWaterLevelChanged" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called when the <page>Entity:WaterLevel</page> of an entity is changed.⤶ </description>⤶ <realm>Server</realm>⤶ <added>2020.02.28</added>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="entity" type="Entity">The entity</arg>⤶ <arg name="old" type="number">Previous water level</arg>⤶ <arg name="new" type="number">The new water level</arg>⤶ </args>⤶ </function>