Garry's Mod Wiki

CUserCmd:SetForwardMove

CUserCmd:SetForwardMove( number speed )

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

1 number speed
The new speed to request. The client will not be able to move faster than their set walk/sprint speed.

Page Links


Special Pages


Wikis

?

Render Time: 42ms

Session 0
DB GetPage 2
Generate Html 7
SaveChanges 18
Render Body 0
Render Sidebar 12