Raised This Month: $ Target: $400
 0% 

My AutoBan plugin is not working (based on SwearReplacements)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AnHiMiLaToR
Member
Join Date: Mar 2007
Old 11-03-2007 , 19:54   Re: My AutoBan plugin is not working (based on SwearReplacements)
Reply With Quote #1

Here?
I'm just newbie so I will be hapy if you help me.
PHP Code:
public bancheck(id
    { 

    new 
said[192
    
read_args said191 

    new 

    
while ( g_banNum 
    { 
        if ( 
containi saidg_banWords[i++] ) != -
        { 
            new 
user_name[32
            
get_user_name iduser_name31 
            
server_cmd("amx_ban %s 0 ^"[Auto BANYou have hackSo you got ownedWhy you banned: %s^""user_namesaid
            
server_cmd("amx_tsay green ^"[Auto BAN] %s bannedHe said '%s' which is not permitted or it's a hack^"", user_name, said) 
            server_cmd("amx_chat ^"[Auto BAN] %s banned. He said '
%s' which is not permitted or it's a hack^""user_namesaid
            
log_amx("[AUTO BAN] Banned '%s' permanently, he said the denied word(s): %s"user_namesaid
                     

            return 
PLUGIN_HANDLED 
        

    } 
    return 
PLUGIN_CONTINUE 

AnHiMiLaToR is offline
Reply



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 01:18.


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