Hey, Im searching for a KzHack Detector (not Exolents) which Bans Player who uses KzHack on the Server automatically with AmxBans. I searched the forum but many of those doenst work or dont have amxbans support.
I dont want to use Exolents since it spams ur console and you cant get unbanned.
So can anyone send me the Link of a working KzHack which is good coded?
Thanks.
EDIT: I found this one now too, but can someone look voer the code if its working? And is it with amxbans support?
PHP Code:
/* Formatright © 2009, ConnorMcLeod
Kz Hack Detector is free software;
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Kz Hack Detector; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include <amxmodx>
new const VERSION[] = "0.0.1"
new g_iSayText
public plugin_init()
{
register_plugin("Kz Hack Detector", VERSION, "ConnorMcLeod")
g_iSayText = get_user_msgid("SayText")
}
public client_putinserver( id )
{
set_task(0.1, "CheckCheatCvar", id)
}
public CheckCheatCvar(id)
{
if( is_user_connected(id) )
{
query_client_cvar(id, "kzh_bhop", "ClientCvarResult")
}
}
public ClientCvarResult(id, const szCvar[], const szValue[])
{
if( szValue[0] != 'B' )
{
new szName[32], szAuthid[32]
get_user_name(id, szName, charsmax(szName))
get_user_authid(id, szAuthid, charsmax(szAuthid))
server_cmd("kick #%d Hack;wait;banid 0 %s;wait;writeid", get_user_userid(id), szAuthid)
ColorChat(0, "^3%s ^4has been banned for ^3KzHack ^4!!", szName)
}
}
ColorChat(id, fmt[], any:...)
{
new szMsg[192]
szMsg[0] = 0x04
vformat(szMsg[1], charsmax(szMsg)-1, fmt, 3)
message_begin(id ? MSG_ONE : MSG_ALL, g_iSayText, _, id)
{
write_byte(id ? id : 1)
write_string(szMsg)
}
message_end()
}