Garry's Mod Wiki

GM:FinishMove

  boolean GM:FinishMove( Player ply, CMoveData mv )
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Description

Called after GM:Move, applies all the changes from the CMoveData to the player.

See Game Movement for an explanation on the move system.

Arguments

1 Player ply
Player
2 CMoveData mv
Movement data

Returns

1 boolean
Return true to suppress default engine behavior, i.e. declare that you have already moved the player according to the move data in a custom way.