Garry's Mod Wiki

Revision Difference

GM:HandlePlayerLanding#553249

<function name="HandlePlayerLanding" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Called every frame by the player model animation system. Allows to override player landing animations.</description> <realm>Shared</realm> <args> <arg name="ply" type="Player">The player</arg> <arg name="velocity" type="number">Players velocity</arg> <arg name="onGround" type="boolean">Was the player on ground?</arg> </args> <rets> <ret name="" type="boolean">Return true if we've changed/set the animation, false otherwise</ret> </rets> </function>