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 ??