| Peace-Maker |
01-14-2015 17:31 |
Re: [CS:GO] Movement Unlocker
Quote:
Originally Posted by Jargon
(Post 2248967)
Has anyone else noticed that bhopping is now really easy when using this plugin? It seems to have removed jump stamina/maybe revealed why Valve made those annoying changes in the first place.
|
You don't have any other plugins running that raise m_flMaxSpeed on the players, right? And have sv_enablebunnyhopping set to 0?
PreventBunnyJumping, which is called in CheckJumpButton, looks something along this lines
PHP Code:
CCSGameMovement::PreventBunnyJumping() { float maxbhopspeed = 1.1 * this->player->m_flMaxSpeed; if(maxbhopspeed > 0.0) { float wishspeed = VectorLength(this->m_vecVelocity); if(maxbhopspeed < wishspeed) { VectorScale (this->m_vecVelocity, maxbhopspeed/wishspeed, this->m_vecVelocity); } } }
This is nearly the exact same code this plugin removes, except for that 1.1 factor, so it should do its job.
|