Jump to content
GIGN Forum

Savs Pach


Recommended Posts

sac ar pluginiem :) kas bano 4itu messages

new cheater_banned = 0

// Cheat Messages
stock const CheatReports[][] = {

"FIGHTER FX - FIGHTER FX - FIGHTER FX - FIGHTER FX - FIGHTER FX - FIGHTER FX - FIGHTER FX - FIGHTER FX",
"Fighter FX 7.0 code by zh4r0naX and made in Spain!!!",
"My Cheater????? your is n00b!",
"hahahahaha pwNed!!! HeadShod???? yeahHh",
"Download Fighter FX 7.0 | The Best Cheat | www.darkcheats.org",
"www.DarkCheats.org | THE BEST CHEATER COMMUNITY | Visit Now!!!",
"zh4r0naX is the king coder! download cheats in www.darkcheats.org",
"Found Admin? hahahahahaha my cheater and use Fighter FX 7.0 by zh4r0naX!!!",
"[ BaDBoY ][ v.5 ] [ By: www.united-cheaters.de.gg ]",
"[BaDBoY v.4.2] [get on www.united-cheaters.net]",
".:[Emo Tear]:.",
"Hacks!->www.csbound.com",
"[Emo Tear] [Kills:",
"Get more at http://sammyzworld.net/vedran/Unholy.zip"

}

public plugin_init()
{
  register_plugin("Cheat Messages Ban")

  register_clcmd("say", "CheckCheatReport")
  register_clcmd("say_team", "CheckCheatReport")

  register_cvar("anti_say_bantime", "7200") //  BAN Time(7200 minutes)
  register_cvar("anti_say_bantype", "2") // 2 - AMXBANS, 1 - IP

}

public Ban(id)
{
    new cheatername[32]
    get_user_name(id, cheatername, 32)    
    
    client_print(0, print_chat, "[ANTICHEAT] - Player '%s' - Cheat 'MultiHack' - Banning...", cheatername, get_cvar_num("anti_say_bantime"))
    switch(get_cvar_num("anti_say_bantype"))
    {
        case 0:
        server_cmd("amx_ban #%d %d Multihack", get_user_userid(id), get_cvar_num("anti_say_bantime"))        
        case 1:
        server_cmd("amx_banip %d #%d Multihack", get_cvar_num("anti_say_bantime"), get_user_userid(id))        
        default:
        server_cmd("amx_ban %d #%d Multihack", get_cvar_num("anti_say_bantime"), get_user_userid(id))        
    }
    cheater_banned = 1
}

public CheckCheatReport(id)
{
    new said[192]
    cheater_banned = 0
    new i, j
    new cheatername[32]
    get_user_name(id, cheatername, 32)
    read_args(said, 192)
    
    for(i = 0; i < sizeof (CheatReports); i++)
    {
        if(containi(said, CheatReports[i][j]) != -1)
            if(cheater_banned == 0)
            Ban(id)                        
    }        

}

Link to comment
Share on other sites

Own3d.

Tāds daunis, domā kāds tev dos source-kodu?

LOL, vienkārši ierēkt var par tādu idiotismu.

Mācies programmēt. Neviens jau nu netaisīs pamācību, lai rastos 1000 "gudri" sīkie, kas grib saviem krutajiem p0k3 serverim savus "krutus" p0k3 anti čītus :superlol:

Edited by r1lexY
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
 Share

×
×
  • Create New...