14.12.2011, 21:47
(
Last edited by fiki574; 15/12/2011 at 07:52 AM.
)
ANTI HEALTH-HACK
VERSION 1.1 (NEW RELEASE)
New in version 1.1:
- Changed PVarInt(s) to PVarFloat(s)
- Added BanPlayer option (true/false)
- Few more changes in script
__________________________________________________ __________________________________________________- Added BanPlayer option (true/false)
- Few more changes in script
VIDEO:
http://www.youtube.com/watch?v=TXAup...ature=*********
__________________________________________________ __________________________________________________
EXPLANATION:
Command to check health hack is /checkhh!
So, you must be logged in RCON to use this! Also, if you wanna have this in your admin script, then
find this:
pawn Code:
#define Admin IsPlayerAdmin
pawn Code:
#define Admin YourAdminScript
Use /checkhh (playerid) to check target player! The target playerґs Z position will be raised for 15
and he/she will fall down! When the /checkhh command is performed, it will triger
"CheckTakenHealth" timer! This timer is set to check health after 1 second, but you can change it
(its recommended to leave 1 second check):
pawn Code:
#define TakenHealthTime 1000
pawn Code:
#define TakenHealthTime DesiredTime
it will start new timer, which is "CheckNewHealth"! Change "NewHealthTime" from this:
pawn Code:
#define NewHealthTime 1000
pawn Code:
#define NewHealthTime DesiredTime
timer "BanIfHacker" (timer wont be started if player lost health)! If player did not lose health,
system will automaticly ban him/her!
"BanIfHacker" timer is set to 1 second, but again, you can freely change it:
pawn Code:
#define BanHackerTime 1000
pawn Code:
#define BanHackerTime DesiredTime
he/she can post his unban app:
pawn Code:
#define Website yourwebsite
pawn Code:
#define BanPlayer true //"true" -> it will ban player if he/she has HH | "false" -> it will send message to admin that player might be HHacking
IMPORTANT:
If you have AFK and/or Unlimited Health command, be sure you prevent checking immediately on command performing!
__________________________________________________ _______________________________________________
CREDITS:
fiki574_CRO - script
ZeeX - zcmd
****** - sscanf
__________________________________________________ _______________________________________________
BUGS:
Shouldnt be any, but report if found!
__________________________________________________ _______________________________________________
DOWNLOAD:
Pastebin (v1.1)
Mediafire (v1.1)