Pa1n;x Admin
Posts : 21 Bani : 45 Reputatie : 0 Join date : 07/04/2010
| Subiect: da afara playeri cu lag peste 100ms. Mier Apr 07, 2010 6:53 pm | |
| Descriere: Acest plugin da afara automat jucatorii care au lag peste 100ms. Descarcare: Link! [Trebuie sa fiti inscris si conectat pentru a vedea acest link]Instalare: 1. Fisierul client_ratefull.sma il puneti in addons/amxmodx/scripting 2. Fisierul client_ratefull.amxx il puneti in addons/amxmodx/plugins 3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati linia: Code: client_ratefull.amxx Valoarea la care sa dea kick se modifica din sma . Code: #include
#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")
Este setat sa dea afara jucatorii cu ping peste 100 ms! | |
|