Raised This Month: $ Target: $400
 0% 

[Help] BanIP HLTV


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
plazma
Senior Member
Join Date: Oct 2013
Old 05-17-2014 , 14:51   [Help] BanIP HLTV
Reply With Quote #1

How I can BanIP when players join by HLTV-s !!!


PHP Code:
#include <amxmodx> 

new pcvar_anti_hltv

public 
plugin_init(){ 
    
register_plugin("Anti HLTV","1.0","Lulu the hero"); 
     
    
pcvar_anti_hltv register_cvar("anti_hltv","0"); 



public 
client_connect(id
    if(
get_pcvar_num(pcvar_anti_hltv) && is_user_hltv(id)) 
        
server_cmd("kick #%d ^"HLTV not allowed on this server!^"",get_user_userid(id)) 
__________________
Free Palestine ♥
plazma 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 09:45.


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