Garry's Mod Wiki

Revision Difference

GM:HandlePlayerVaulting#553267

<function name="HandlePlayerVaulting" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description>Allows to override player flying ( in mid-air, not noclipping ) animations.</description> <realm>Shared</realm> <args> <arg name="ply" type="Player">The player</arg> <arg name="velocity" type="number">Players velocity</arg> </args> <rets> <ret name="" type="boolean">Return true if we've changed/set the animation, false otherwise</ret> </rets> </function>