View Single Post
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 07-28-2015 , 14:52   Re: Problem with player maxspeed
Reply With Quote #17

last time i checked (ugh haven't coded in years) in css you can only decrease speed, m_flMaxspeed has to be set in one of the thinks if i remember correctly, also you might have to change the vel paramater in OnPlayerRunCmd.

m_flVelocityModifier slows down the player temporarily when they take damage and m_flStamina slows down the player temporarily when they land from a jump. to use them you would have to change the value in one of the thinks and fiddle with values to get the speed you want, but this will obviously mess up their original functionality.

i used to have a hack in weaponmod to increase/decrease m_flMaxspeed but an update broke it and i couldn't find another way.

i've mentioned this before but m_flLaggedMovementValueis is(was?) used for lag compensation to slow/speed up the client(not just running speed) to put them back in sync with the server.
blodia is offline