Garry's Mod Wiki
Description
The Move hook is called for you to manipulate the player's MoveData.
You shouldn't adjust the player's position in any way in the move hook. This is because due to prediction errors, the netcode might run the move hook multiple times as packets arrive late. Therefore you should only adjust the movedata construct in this hook.
Generally you shouldn't have to use this hook - if you want to make a custom move type you should look at the drive system.
This hook is called after GM:PlayerTick.
See Game Movement for an explanation on the move system.
Arguments
Returns
Example
A noclip move type.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...