Hacker Killing Himself/Fake Kill - 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: Hacker Killing Himself/Fake Kill (
/showthread.php?tid=443696)
Hacker Killing Himself/Fake Kill -
Guest123 - 13.06.2013
hi, can i got anti kill for s0biet ?
the hacker used s0biet hack fake kill and i just created new fs after onplayerdeath they got coins.
AW: Hacker Killing Himself/Fake Kill -
HurtLocker - 13.06.2013
if (playerid==killerid) kick(playerid) or ban.
Under Onplayerdeath
Re: Hacker Killing Himself/Fake Kill -
Guest123 - 13.06.2013
nice, how to detect player using sobiet Fake Kill Hack ? killing anoter player
Re: Hacker Killing Himself/Fake Kill -
dannyk0ed - 13.06.2013
I would get the FuckCleo.inc
Then
pawn Код:
public OnPlayerCleoDetected(playerid, cleoid)
{
switch(cleoid)
{
case CLEO_FAKEKILL:
{
new string[128]; format(string, sizeof(string), "%s Has Been Banned by Lorenc_'s FUCKCLEO.inc for Fake kill", (playername stock);
SendClientMessageToAll( 0xFF0000FF, string);
SendClientMessage(playerid, 0xFF0000FF, "You have been banned for Fake Kill");
}
Re: Hacker Killing Himself/Fake Kill -
Guest123 - 13.06.2013
Quote:
Originally Posted by dannyk0ed
I would get the FuckCleo.inc
Then
pawn Код:
public OnPlayerCleoDetected(playerid, cleoid) { switch(cleoid) { case CLEO_FAKEKILL: { new string[128]; format(string, sizeof(string), "%s Has Been Banned by Lorenc_'s FUCKCLEO.inc for Fake kill", (playername stock); SendClientMessageToAll( 0xFF0000FF, string); SendClientMessage(playerid, 0xFF0000FF, "You have been banned for Fake Kill"); }
|
fuckcleo.inc was deleted.
Re : Hacker Killing Himself/Fake Kill -
Sandiel - 13.06.2013
I guess you should make a new variable, name it whatever you want, for example I'd name it SuicideAttempts.
so
pawn Код:
new SuicideAttempts[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid == playerid)
{
SuicideAttempts[playerid]++;
}
return 1;
}
//then under the onplayerupdate callback check if he has 3 suicide attempts at hand ( if(suicideattempts[playerid] >= 3) ), If it is, kick/ban him. hopefull this will help