Description: New Update From Anti Crash And Today I Will Give You The Anti-Crash If you need him
PHP Code:
/* Plugin generated by AMXX-Studio */
#include < amxmodx >
#include < amxmisc >
#define MAX_PLAYERS 32
#define MAX_CONNECT 3
new user_Maxconnect[MAX_PLAYERS + 1];
new ip[0x10];
public plugin_init() register_plugin("Duplicate IP(For xFakeplayers)", "0.1", "Hicham")
public CheckIfFlood(iFakeClient)
{
new S_IP[MAX_PLAYERS];
for(new i = 0; i < get_maxplayers(); i++)
{
get_user_ip(iFakeClient, S_IP, sizeof(S_IP));
if(!strcmp(ip, S_IP, false))
user_Maxconnect[iFakeClient]++;
}
if(user_Maxconnect[iFakeClient] > MAX_CONNECT) server_cmd("kick #%d ^"You are using fake players^"", get_user_userid(iFakeClient))
}
public client_connect(iFakeClient)
{
get_user_ip(iFakeClient, ip, sizeof(ip));
user_Maxconnect[iFakeClient] = 0;
set_task((0x64 / 0x3E8) + 0.0, "CheckIfFlood", iFakeClient);
The Anti Working 100%