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!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..