drive
The drive library is for adding custom control modes to the new "remote control" entity piloting system in Garry's Mod 13. See Entity Driving.
Methods
This is used internally - although you're able to use it you probably shouldn't.
Optionally alter the view.
This is used internally - although you're able to use it you probably shouldn't.
Clientside, the client creates the cmd (usercommand) from their input device (mouse, keyboard) and then it's sent to the server. Restrict view angles here.
drive.DestroyMethod( Player ply )
This is used internally - although you're able to use it you probably shouldn't.
Destroys players current driving method.
This is used internally - although you're able to use it you probably shouldn't.
The move is finished. Copy mv back into the target.
This is used internally - although you're able to use it you probably shouldn't.
Returns ( or creates if inexistent ) a driving method.
This is used internally - although you're able to use it you probably shouldn't.
The move is executed here.
Starts driving for the player.
drive.PlayerStopDriving( Player ply )
Stops the player from driving anything. ( For example a prop in sandbox )