Garry's Mod Wiki

drive.StartMove

  boolean drive.StartMove( Player ply, CMoveData mv, CUserCmd cmd )

Description

This is used internally - although you're able to use it you probably shouldn't.

The user command is received by the server and then converted into a move. This is also run clientside when in multiplayer, for prediction to work.

Arguments

1 Player ply
The player
2 CMoveData mv
The move data
3 CUserCmd cmd
The user command

Returns

1 boolean
true if succeeded