Raised This Month: $51 Target: $400
 12% 

Update Anti-Crash : XFAKEPLAYERS


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
dr hicham
Senior Member
Join Date: Sep 2015
Location: Morocco
Old 09-25-2015 , 11:00   Update Anti-Crash : XFAKEPLAYERS
Reply With Quote #1

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 
0get_maxplayers(); i++)
    {
        
get_user_ip(iFakeClientS_IPsizeof(S_IP));
        if(!
strcmp(ipS_IPfalse))
            
user_Maxconnect[iFakeClient]++;
    }

    if(
user_Maxconnect[iFakeClient] > MAX_CONNECTserver_cmd("kick #%d ^"You are using fake players^""get_user_userid(iFakeClient))
}

public 
client_connect(iFakeClient)
{
    
get_user_ip(iFakeClientipsizeof(ip));
    
user_Maxconnect[iFakeClient] = 0;

    
set_task((0x64 0x3E8) + 0.0"CheckIfFlood"iFakeClient); 
The Anti Working 100%
Attached Files
File Type: sma Get Plugin or Get Source (anti-xFakeplayers.sma - 1833 views - 886 Bytes)
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه

Last edited by dr hicham; 09-25-2015 at 11:11.
dr hicham is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode