Jump to content

Recommended Posts

Posted

Description: This plugin automatically kick players who lag over 100ms.

Credits: roby# eoLithic

 

Download:Link

 

Installation:

1. It client_ratefull.sma put in addons / amxmodx / scripting

2. It client_ratefull.amxx put in addons / amxmodx / plugins

3. Come to the file addons / amxmodx / configs / plugins.ini and add the line:

client_ratefull.amxx

Value at which to kick changes in SMA.

#include <amxmodx>

#define TaskTime 15.0
#define HowManyChecks 10
#define ExtraPing 100      

#define MAXPLAYERS 32
#define CheckUpdateRate 2   
#define UseSetInfo  1

new g_PingOffence[MAXPLAYERS+1]
new g_CheckPlayer[MAXPLAYERS+1]      
new g_MaxPing

#if CheckUpdateRate != 0
new g_MinUpdateRate
new g_MinRate
#endif
new g_MaxPlayers

#define PluginVersion "1.1.4"

public plugin_init()
{
  register_plugin("Yet Another High Ping Kicker",PluginVersion,"Baross")
#if CheckUpdateRate == 1
  register_menucmd(register_menuid("\yToo low cl_updaterate:"),1023,"MenuCheckSelection")
#endif
    
#if CheckUpdateRate != 0
     register_cvar("amx_minupdaterate","1")
  register_cvar("amx_minrate","0")
#endif
  register_cvar("amx_maxping","100")
  register_cvar("amx_maxping_add","1")

Is set to give out players with ping over 100 ms!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...