Raised This Month: $32 Target: $400
 8% 

Request for plugin remake


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Elusive13
Member
Join Date: Sep 2011
Old 01-20-2019 , 03:47   Request for plugin remake
Reply With Quote #1

Hello. I was searching for a double duck plugin and i found that one - Anti DoubleDuck
But this plugin forbids double duck and mouse scroll duck. I want to forbid only duck with scroll button a.k.a Crouch.
Can u edit or tell me how to edit it myself?
Elusive13 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-20-2019 , 16:40   Re: Request for plugin remake
Reply With Quote #2

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.
__________________
fysiks is offline
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 01-21-2019 , 21:53   Re: Request for plugin remake
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
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.
__________________

Last edited by deprale; 01-21-2019 at 21:56.
deprale is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode