Garry's Mod Wiki

PLAYER:StartMove

  boolean PLAYER:StartMove( CMoveData mv, CUserCmd cmd )

Description

Called from GM:CreateMove.

This hook will not work if the current gamemode overrides GM:SetupMove and does not call this hook.
This hook is run after the drive.StartMove has been called.

Arguments

1 CMoveData mv
The move data to override/use
2 CUserCmd cmd
The command data

Returns

1 boolean
Return true to prevent default action