Raised This Month: $32 Target: $400
 8% 

Knife script detector (CS)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
guven5
Senior Member
Join Date: Jul 2010
Location: counter strike 1.6 downl
Old 12-28-2016 , 06:03   Knife script detector (CS)
Reply With Quote #1

i have seen somewhere before, knife script detector (server side plugin) and i did some search but no result, may some one already has or give me a quick tip, shortly i do not like script boys and unfair gameplay like hs with knife or more dmg with knife and/or same dmg with both mouse button.
guven5 is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 12-29-2016 , 09:20   Re: Knife script detector (CS)
Reply With Quote #2

I suggest you to search for an alias detector and put the aliases of the knifebot.

Idk if this will work or not ...
Code:
#include < amxmodx > #include < cstrike > #include < engine > #include < fakemeta > #define PluginName       "KnifeBot Detector" #define Version         "1.0" #define Author        "Freezo(Spawner)" #define function<%0>(%1)     %0(%1) public  plugin_init() {     register_plugin     (         .plugin_name    = PluginName,         .version    = Version,         .author  = Author     ); } public  function<client_PreThink>(id) {     if(!is_user_alive(id))  return   PLUGIN_CONTINUE;         #define PRESSED(%0) (((buttons & (%0)) == (%0)) && ((oldbuttons & (%0)) != (%0)))     static  buttons, oldbuttons;         buttons         = pev(id, pev_button);     oldbuttons  = pev(id, pev_oldbuttons);         new     iTarget , iBody;     get_user_aiming( id , iTarget , iBody );         if     (             ( id != iTarget )     &&    (1 <= iTarget <= 32)             &&  get_user_weapon(id)   ==    CSW_KNIFE             &&  cs_get_user_team(id)  !=   cs_get_user_team(iTarget)     )        {         new iDistance= get_dist(id, iTarget)         if(PRESSED(IN_ATTACK))         {             client_print(id, print_chat, "[ATTACK1] %d", iDistance);             //if(?? <= iDistance <= ??){ } // replace the distance with ??                     }         if(PRESSED(IN_ATTACK2))         {             client_print(id, print_chat, "[ATTACK2] %d", iDistance );                         //if(?? <= iDistance <= ??){ } // replace the distance with ??         }             }         return  PLUGIN_CONTINUE; } stock   get_dist(id,iPlayer) {     static          origin1[ 3 ] ,     origin2[ 3 ];         get_user_origin( id , origin1 );     get_user_origin( iPlayer , origin2 );         return  get_distance(origin1, origin2); }

Also this is a wrong section ...

Last edited by Freezo Begin; 12-29-2016 at 13:55.
Freezo Begin is offline
guven5
Senior Member
Join Date: Jul 2010
Location: counter strike 1.6 downl
Old 01-06-2017 , 15:08   Re: Knife script detector (CS)
Reply With Quote #3

this plugin shows knife dmg but i could not see or i am not sure about knife script, i have seen a Romanian server, knife script detector, may i try again "hack detector"
guven5 is offline
Reply



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 15:42.


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