Detecting Invulnerability hacks
#3

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
Actually, I'd suggest you to use the include "OnPlayerShootPlayer".
It will detect how many HP the player lost when he got shot.

So, use it like this:
pawn Код:
new string[50];
if(!HealthLost || !ArmourLost)
{
   format(string, 50, "%s is probably hacking", PlayerNamethingy(Target));
   SendClientMessage(shooter, -1, string);
   return 1;
}
(Use the code at the OnPlayerShootPlayer 'callback'.)

I can't guarantee it will work hunderd percent, you should test it.
I will try that, thanks

Btw, I don't see that callback on the Wiki. Would you please tellme what parameters OnPlayerShoot has ?
Reply


Messages In This Thread
Detecting Invulnerability hacks - by o_O - 06.05.2011, 14:57
Re: Detecting Invulnerability hacks - by Biesmen - 06.05.2011, 15:02
Re: Detecting Invulnerability hacks - by o_O - 06.05.2011, 15:04
Re: Detecting Invulnerability hacks - by steki. - 06.05.2011, 15:44
Re: Detecting Invulnerability hacks - by o_O - 06.05.2011, 16:44
Re: Detecting Invulnerability hacks - by steki. - 06.05.2011, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)