GM:FinishMove

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

Contents

Description

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

NOTE This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Arguments

Player ply

Player

Arguments

CMoveData mv

Movement data

Returns

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.
Personal tools
Navigation