GM:VehicleMove

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

Contents

Description

Called when you are driving a vehicle. This hook works just like GM:Move.

This hook is called before GM:Move and will be called when GM:PlayerTick is not.

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

Arguments

Player ply

Player who is driving the vehicle

Arguments

Vehicle veh

The vehicle being driven

Arguments

CMoveData mv

Move data
Personal tools
Navigation