Quote:
Originally Posted by fysiks
It's not possible to know the whether the player is using a the scroll wheel or a button because they send the same command to the server and create the same result.
|
TRUE, but u can instead check how much time the player was floating(in air).
if +duck was issued and the user is on land and the airtime is higher than 0 just force client to -duck, just a small PoC dunno if it would actually work or if it's what the OP requested.
EDIT:
Here you go, OP
2nd EDIT: There was also a module version of this which was kinda better but dunno where I saw it, maybe on some russian forums. Not gonna link it since I don't know if it is allowed within the rules.
__________________