Someone crash my players - 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: Someone crash my players (
/showthread.php?tid=581013)
Someone crash my players -
AGboris - 09.07.2015
Hello everyone. First of all, sorry for my bad speaking English.
I have problem with crash players. Basically, when a player enters the cheating on the server, it can crash nearly all players.
How can I prevent it?
Re: Someone crash my players -
Mijata - 09.07.2015
Add anti weapon crasher and anti bullet crasher - anti aim crasher
Anti weapon crasher :
Quote:
if(GetPlayerCameraMode(playerid) == 53)
{
new Float:kLibPos[3];
GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]);
if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 )
{
BanEx(playerid, "WeaponCrasher");
return 0;
}
}
return 1;
}
|
-EDIT
Anti bullet crasher :
https://sampforum.blast.hk/showthread.php?tid=535559
Re: Someone crash my players -
Rockyyy - 09.07.2015
if u didn't update your server yet, try to update to 0.3.7