AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   A good way to increase movespeed when crouching/ducking (https://forums.alliedmods.net/showthread.php?t=308204)

Infractem 06-10-2018 10:09

A good way to increase movespeed when crouching/ducking
 
What could be a good way to have the [almost]same movespeed while ducking/crouching and walking? I'm thinking about manually increasing cl_movespeed (with the sv_maxspeed modified as well) when ducking(by using a button detection script) but there could be another way of doing so.

E1_531G 06-10-2018 11:43

Re: A good way to increase movespeed when crouching/ducking
 
I would try to see which speed the player gets on ResetMaxSpeed, if new maxspeed = ducking speed => he is ducking, you can set the speed you want.


All times are GMT -4. The time now is 06:16.

Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.