Garry's Mod Wiki

GM:PlayerTick

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

Description

The Move hook is called for you to manipulate the player's CMoveData. This hook is called moments before GM:Move and GM:PlayerNoClip.

This hook will not run when inside a vehicle. GM:VehicleMove will be called instead.

Arguments

1 Player player
The player
2 CMoveData mv
The current movedata for the player.