[Help] Health hack check.
#1

Hey ,

I've been trying to script a health hack check using ZCMD , if you perform the CMD on a player it sets his pos somewhere else , it checks his current HP and gets his old pos and sets his hp to 100 , i'd like to use SetTimer here that after its done with sending him to the new pos it explodes him and gets his hp after being exploded then sends him back to his oldpos and sets his hp back the way it was before the the playerid performed the CMD on him and send the playerid that performed the CMD a message , if the hp it checks after the target id has been exploded is = 100 saying it's positive and if its lower than 100 saying negative result .

Thanks in advance , i'm trying to do it and getting few error , i'd be thankful if someone could script me it .
Reply
#2

For script requesting post here: https://sampforum.blast.hk/showthread.php?tid=187229&page=34

Post your code here so we can take a look into it and fix it.
Reply
#3

My friend scripted an anti health hack with the OnPlayerTakeDamage and its working, you can script it too.
Reply
#4

You can also see how is it done in other anticheats (for example, JunkBuster).
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)