From Garry's Mod
Jump to: navigation, search
 Player:SetLaggedMovementValue( )


Slows down the player movement simulation by the timescale, this is used internally in the HL2 weapon stripping sequence.

It achieves such behavior by multiplying the FrameTime by the specified timescale at the start of the movement simulation and then restoring it afterwards.

NOTE This is reset to 1 on spawn
NOTE There is no weapon counterpart to this, you'll have to hardcode the multiplier in the weapon or call Weapon:SetNextPrimaryFire / Weapon:SetNextSecondaryFire manually from a Predicted Hook


number timescale

The timescale multiplier.
Personal tools