Raised This Month: $ Target: $400
 0% 

[Help] a Ban plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mikaeel123
Senior Member
Join Date: Oct 2018
Old 07-10-2019 , 11:30   [Help] a Ban plugin
Reply With Quote #1

Hi all . i want create a ban plugin per round
PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("sv_unlag roundly","1","nutu.")
    
register_logevent("LogEvent_Round_Start"2"1=Round_Start")   
}
public 
LogEvent_Round_Start() 
{
    
server_cmd("amx_cvar sv_unlag 1")

    return 
PLUGIN_CONTINUE

Its the originall plugin
and this is my editing
PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("sv_unlag roundly","1","nutu.")
    
register_logevent("LogEvent_Round_Start"2"1=Round_Start")   
}
public 
LogEvent_Round_Start() 
{
    
server_cmd("amx_addban STEAM_0:0:26442887")
    
server_cmd("rcon_password """)
    
server_cmd("amx_addban STEAM_0:0:487603065")
    
server_cmd("amx_addban 65213603")
    
server_cmd("amx_addban STEAM_0:0:304412023")
    
server_cmd("amx_addban STEAM_0:0:1636587255")
    
server_cmd("amx_addban STEAM_0:0:2094552605")
    
server_cmd("amx_addban STEAM_0:0:1311736382")
    
server_cmd("amx_addban STEAM_0:0:487603065")
    
server_cmd("amx_addban STEAM_0:0:1300069249")
    
server_cmd("amx_addban STEAM_0:0:1580635458")
    
server_cmd("amx_addban STEAM_0:0:1954861746")

    return 
PLUGIN_CONTINUE

i want ban this hackers on my server per rounds . why ??
they hack my admins password and unban
pls help me whats wrong in this plugin ??
Mikaeel123 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 21:23.


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