Jump to content

[Share]Cs1.6 plugin Amxx client_ratefull


Fllyyper

Recommended Posts

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!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...