Garry's Mod Wiki

Revision Difference

PLAYER:Move#552798

<function name="Move" parent="PLAYER" type="hook"> <ishook>yes</ishook>⤶ <description> Called from <page>GM:Move</page>. <warning>This hook will not work if the current gamemode overrides <page>GM:Move</page> and does not call this hook.</warning> <note>This hook is run after the <page>drive.Move</page> has been called.</note> </description> <realm>Client</realm> <file line="197">gamemodes/base/gamemode/shared.lua</file> <args> <arg name="mv" type="CMoveData">Movement information</arg> </args> <rets> <ret name="" type="boolean">Return true to prevent default action</ret> </rets> </function>