how to make player move less sideways without slowhacking?
Like cl_sidespeed, only without messing with clients variables.
|
Re: how to make player move less sideways without slowhacking?
Hook PM_Move, change sidespeed in the 'cmd' structure.
|
Re: how to make player move less sideways without slowhacking?
Well im not that advanced in amxx coding ^^. As far as I understand I need to hook it via orpheu. Since this is currently black magic for me, you must explain it with sufficient amount of code to help me.
|
Re: how to make player move less sideways without slowhacking?
Code:
|
Re: how to make player move less sideways without slowhacking?
Quote:
http://forums.alliedmods.net/showthread.php?t=116393 Anything else I need ? |
Re: how to make player move less sideways without slowhacking?
Quote:
|
Re: how to make player move less sideways without slowhacking?
Thanks.
How to retrieve the current sidespeed value ? Cause i propably want it floatclamped to lets say -150.0,150 |
Re: how to make player move less sideways without slowhacking?
Quote:
PHP Code:
HTML Code:
{Edit: by safe I mean "update proof" but in this case, doing like I said in my last sentence, is also mod independent so I recommend it. |
Re: how to make player move less sideways without slowhacking?
@joaquimandrade
Thanks, it works. But how do i first get the sidespeed value so i could floatclamp it? Setting the speed like it is now just forces player to move left or right. |
Re: how to make player move less sideways without slowhacking?
How do I retrieve current sidespeed value ?
|
| All times are GMT -4. The time now is 03:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.