Anit-crahser ? - 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: Anit-crahser ? (
/showthread.php?tid=460699)
Anti-crahser ? -
3MY - 29.08.2013
Hi, I have a problem with some haters which crash my players.
They use a program named crasher.exe . After you start this program when you hit a player or simply W+ALT or other keys it blocks the players game and they got crashed..
I think this is a posibly anti-crasher but it doesn't work good.
Код:
if (GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
new Float:vec[3];
GetPlayerCameraFrontVector(playerid, vec[0], vec[1], vec[2]);
new bool:possible_crasher = false;
for (new i = 0; !possible_crasher && i < sizeof(vec); i++)
if (floatabs(vec[i]) > 10.0)
possible_crasher = true;
if (possible_crasher)
return 0; //do not send fake data, prevents crash
}
Re: Anit-crahser ? -
doreto - 29.08.2013
How do you know so many about "crasher.exe" program ?
Re: Anit-crahser ? -
3MY - 29.08.2013
I also have it
Re: Anit-crahser ? -
ViruZz - 29.08.2013
https://sampforum.blast.hk/showthread.php?tid=450481
It works just fine.
Re: Anit-crahser ? -
Dopefull - 29.08.2013
Use the anti crasher that ViruZz posted. It works 100% and it doesn't kick innocent players.
Re: Anit-crahser ? -
3MY - 29.08.2013
Quote:
Originally Posted by Dopefull
Use the anti crasher that ViruZz posted. It works 100% and it doesn't kick innocent players.
|
ok, i'm gonna test it!
Edit: I don't get kick when i use it, but the players see me afk and it has no effect