Garry's Mod Wiki

CUserCmd:GetForwardMove

  number CUserCmd:GetForwardMove()

Description

The speed the client wishes to move forward with, negative if the clients wants to move backwards.

Returns

1 number
The desired speed