GM:SetupMove
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.
Description
SetupMove is called before the engine process movements. This allows us to override the players movement.
See Game Movement for an explanation on the move system.
Arguments
Example
Make drowning even more entertaining:
Example
Disable the player's ability to jump by removing a key from CMoveData: