GM:PlayerTick

From Garry's Mod
Jump to: navigation, search
 GM:PlayerTick( )

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.

WARNING This hook will not run when inside a vehicle. GM:VehicleMove will be called instead.
NOTE This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Arguments

Player player

The player

Arguments

CMoveData mv

The current movedata for the player.
Personal tools
Navigation