Garry's Mod Wiki

Revision Difference

PLAYER:StartMove#552800

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