Raised This Month: $ Target: $400
 0% 

Hack Detector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Silent Sniper
Member
Join Date: May 2006
Location: UK
Old 05-15-2006 , 18:18   Hack Detector
Reply With Quote #1

Code:
#include <cstrike> #define PLUGIN "Hack Detector" #define VERSION "0.1" #define AUTHOR "Silent Sniper" new InDetectorMode[33] new Offenses[33] new g_DetectorMenu public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)           register_clcmd("amx_detector", "ESP_Detector", ADMIN_BAN)           g_DetectorMenu = menu_create("Possible ESP Hackers", "DetectorMenu_Handle") } public DetectorMenu_Handle(id, Menu, Item) {       } public ESP_Detector(id, level, cid) {     if (!cmd_access(id, level, cid, 1))         return PLUGIN_HANDLED           if (InDetectorMode[id])     {         InDetectorMode[id] = 0         set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderNormal, 16)         set_user_health(id, 100)         set_user_footsteps(id, 0)         client_cmd(0, "cl_shadows 1")     } else     {         InDetectorMode[id] = 1         set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAdd, 0)         set_user_health(id, 9999)         set_user_footsteps(id, 1)         client_cmd(0, "cl_shadows 0")     }           return PLUGIN_HANDLED } public client_damage(Attacker, Victim) {     if (InDetectorMode[Victim])     {         Offenses[Attacker]++         if (Offenses[Attacker] == 3)         {             new szName[32], szSteamID[32], szIP[32]             get_user_name(Attacker, szName, 31)             get_user_authid(Attacker, szSteamID, 31)             get_user_ip(Attacker, szIP, 31, 1)                           new szItem[64]             format(szItem, 63, "%s-%s-%s", szName, szSteamID, szIP)                           menu_additem(g_DetectorMenu, szItem, szItem)                           menu_display(Victim, g_DetectorMenu, 0) //      new name[32] //      client_print(0,print_chat,"%s Is Fucking Cheating",name) //      client_print(0,print_chat,"Glowing Red %s",name) //      console_cmd(0,"amx_glow %s 255 0 0",name)     }                   set_task(5.0, "ClearOffenses", Attacker + 121213)     } } public ClearOffenses(TaskID) {     new id = TaskID - 121213           Offenses[id] = 0 } public client_disconnect(id) {     Offenses[id] = 0     InDetectorMode[id] = 0     client_cmd(id, "cl_shadows 1") }

The lines i have put // before are the ones i need help with i think you understand what im trying to do...

if not

on menu when i press 1.2.3.4 so on when the name comes up it kicks them

and when there name is added so is a speach saying (%s is a hacking cheater, name)

and then it executes a code on them

please help me thnx
__________________
Silent Sniper
Silent Sniper is offline
Send a message via AIM to Silent Sniper
 



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 16:24.


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