SA-MP Forums Archive
[HELP]anti fake kill (++ rep) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]anti fake kill (++ rep) (/showthread.php?tid=309714)



[HELP]anti fake kill (++ rep) [Solved] - Amine_Mejrhirrou - 08.01.2012

i've seen the last 3 days a lot of player using fake kill ...
and i've tryed this to kick the fake killers but this kick too many inocents too
Code:
	if(GetPlayerWeapon(killerid) != reason){Kick(killerid);}
any one has a solution


Re: [HELP]anti fake kill (++ rep) - coole210 - 08.01.2012

Yes, inside OnPlayerDeath, make sure the person that killed is SYNCED with the person that died, check range of kill, check if player is AFK.. That's all I have so far.


Re: [HELP]anti fake kill (++ rep) - Jefff - 08.01.2012

Add GetDistanceBetweenPlayers too


Re : [HELP]anti fake kill (++ rep) - Amine_Mejrhirrou - 08.01.2012

amm i just changed
Quote:

kick(killerid);

and i put
Quote:

kick(playerid);

and now looks like that everything is cool.
thnks any way


Re: [HELP]anti fake kill (++ rep) - VenomMancer - 17.02.2014

Quote:
Originally Posted by coole210
View Post
Yes, inside OnPlayerDeath, make sure the person that killed is SYNCED with the person that died, check range of kill, check if player is AFK.. That's all I have so far.
can u make example FS ?