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

kick function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-24-2021 , 02:57   kick function
Reply With Quote #1

hi I need 2 functions:
PHP Code:
kick player with high ping 
kick player with less playtime 
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-24-2021 , 10:09   Re: kick function
Reply With Quote #2

kick player with high ping
https://forums.alliedmods.net/showthread.php?t=1112
__________________








CrazY. is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 02-24-2021 , 11:00   Re: kick function
Reply With Quote #3

Or just use mine that is more up to date.

https://forums.alliedmods.net/showth...25#post2613925
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-24-2021 , 23:53   Re: kick function
Reply With Quote #4

Quote:
Originally Posted by Sanjay Singh View Post
kick player with less playtime
So, you want to kick everybody except for the last person on the server?
__________________
fysiks is offline
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-25-2021 , 00:53   Re: kick function
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
So, you want to kick everybody except for the last person on the server?
least playtime means the one who joined last
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2021 , 22:58   Re: kick function
Reply With Quote #6

Quote:
Originally Posted by Sanjay Singh View Post
least playtime means the one who joined last
Yes, I know. But if you have it kicking based on this logic then when the plugin kicks the first player, it will then kick the next player, etc. until there is only one player left.

That is unless you're asking for an admin command which you haven't been clear if that is what your looking for since you grouped it with the high ping kicker which is automatic.
__________________
fysiks is offline
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-26-2021 , 06:19   Re: kick function
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
Yes, I know. But if you have it kicking based on this logic then when the plugin kicks the first player, it will then kick the next player, etc. until there is only one player left.

That is unless you're asking for an admin command which you haven't been clear if that is what your looking for since you grouped it with the high ping kicker which is automatic.
I simply wants to kick 1 player only
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-26-2021 , 07:53   Re: kick function
Reply With Quote #8

Quote:
Originally Posted by Sanjay Singh View Post
I simply wants to kick 1 player only
When and HOW?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-26-2021 , 08:58   Re: kick function
Reply With Quote #9

Quote:
Originally Posted by OciXCrom View Post
When and HOW?
I need it for my mix plugin
If admin connects then simply kick out player with least playtime (10/10) to free 1 slot for the admin
__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 02-26-2021 , 09:56   Re: kick function
Reply With Quote #10

Quote:
Originally Posted by Sanjay Singh View Post
I need it for my mix plugin
If admin connects then simply kick out player with least playtime (10/10) to free 1 slot for the admin
So should a player be kicked out of a game just because the admin joined?
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
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 19:24.


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