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

How do I automatically kick a hung player who uses +duck?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Twenty_Cat
Junior Member
Join Date: Feb 2022
Old 02-26-2022 , 22:02   How do I automatically kick a hung player who uses +duck?
Reply With Quote #1

The AFK plugin I'm using doesn't work for some AFK players that use +duck, +left, etc., which is giving me a headache。
Twenty_Cat is offline
raj kaul
Senior Member
Join Date: Mar 2018
Location: www.lotgaming.xyz
Old 02-26-2022 , 23:26   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #2

https://forums.alliedmods.net/showth...=132310&page=3
__________________
raj kaul is offline
Twenty_Cat
Junior Member
Join Date: Feb 2022
Old 02-27-2022 , 02:23   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #3

Quote:
Originally Posted by raj kaul View Post
I am testing if it works.
This is a great help to me.

Last edited by Twenty_Cat; 02-27-2022 at 02:24.
Twenty_Cat is offline
Twenty_Cat
Junior Member
Join Date: Feb 2022
Old 02-27-2022 , 02:58   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #4

Quote:
Originally Posted by raj kaul View Post
Great plugin! But +duck or +jump still works, is there any way to stop these two commands from working?
Twenty_Cat is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 03-03-2022 , 13:45   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #5

Quote:
Originally Posted by Twenty_Cat View Post
Great plugin! But +duck or +jump still works, is there any way to stop these two commands from working?
You didn't state which of the plugins in that thread you were using, so I just picked one and modified it for you.

This is the plugin called 'turnbind' developed by Cruz. The plugin already checks for +left and +right. I simply added the checks for +duck and +jump. I didn't test it at all.
Attached Files
File Type: sp Get Plugin or Get Source (turnbind.sp - 94 views - 1.4 KB)
PC Gamer is offline
Twenty_Cat
Junior Member
Join Date: Feb 2022
Old 03-04-2022 , 09:51   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #6

Quote:
Originally Posted by PC Gamer View Post
You didn't state which of the plugins in that thread you were using, so I just picked one and modified it for you.

This is the plugin called 'turnbind' developed by Cruz. The plugin already checks for +left and +right. I simply added the checks for +duck and +jump. I didn't test it at all.
it works very well thank you
Twenty_Cat is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 03-05-2022 , 22:09   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #7

you might caching client buttons, kick it when buttons status wont change long time
__________________
NoroHime is offline
Twenty_Cat
Junior Member
Join Date: Feb 2022
Old 03-06-2022 , 04:40   Re: How do I automatically kick a hung player who uses +duck?
Reply With Quote #8

Quote:
Originally Posted by NoroHime View Post
you might caching client buttons, kick it when buttons status wont change long time
er....I don't know what to do。
Twenty_Cat is offline
Reply



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 22:47.


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