Garry's Mod Wiki

Revision Difference

GM:OnEntityWaterLevelChanged#524922

<function name="OnEntityWaterLevelChanged" parent="GM" type="hook"> <ishook>yes</ishook> <description>⤶ <description><note>Next Update</note>⤶ 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>