How to make anti fake kill?
#2

Quote:
Originally Posted by cessil
Посмотреть сообщение
You could also use OnPlayerGiveDamage and OnPlayerTakeDamage and store if they hit the other player.
If you implement GetPlayerTargetPlayer then remember that not everything will call that like if they're using a joypad, if they're in a vehicle and also guns have target ranges which are shorter than the damage ranges which means you can kill someone with an m4 without GetPlayerTargetPlayer returning their id if they're far away enough
this one below should work
Quote:

You could always check if the "killer" is actually carrying the weapon they supposedly killed with.

Код:
//OnPlayerDeath
if(GetPlayerWeapon(killerid) != reason) //if the weapon "killerid" has is not the weapon used to kill "playerid"
{
	//"playerid" used a fake kill
}
You could check for distances of kills if they're bigger than 330, check distance between players with melee kills and if its bigger than lets say 10, its a fake kill
Reply


Messages In This Thread
How to make anti fake kill? - by VenomMancer - 09.06.2015, 14:38
Re: How to make anti fake kill? - by JaydenJason - 09.06.2015, 15:05
Re: How to make anti fake kill? - by Devon007 - 09.06.2015, 15:17
Re: How to make anti fake kill? - by VenomMancer - 09.06.2015, 15:43
Re: How to make anti fake kill? - by VenomMancer - 10.06.2015, 07:46
Re: How to make anti fake kill? - by SickAttack - 10.06.2015, 07:56
Re: How to make anti fake kill? - by Vince - 10.06.2015, 09:32

Forum Jump:


Users browsing this thread: 2 Guest(s)