CUserCmd/SetForwardMove

From Garry's Mod
Jump to: navigation, search
 CUserCmd:SetForwardMove( )

Description

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

See also CUserCmd:ClearMovement, CUserCmd:SetSideMove and CUserCmd:SetUpMove.

Arguments

number speed

The new speed to request. The client will not be able to move faster than their set walk/sprint speed.
Personal tools
Navigation