Garry's Mod Wiki

drive.CreateMove

  boolean drive.CreateMove( CUserCmd cmd )

Description

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.

Arguments

1 CUserCmd cmd
The user command

Returns

1 boolean
true if succeeded