11.05.2018, 12:00
hey guys
I'm using "Speed Booster" for my server and i have problems with anti cheat
when player is using server speed booster server will send warning's
and speed boost is with click left or Alt
I'm using "Speed Booster" for my server and i have problems with anti cheat
when player is using server speed booster server will send warning's
PHP код:
if(final_speed_int > 240 && Cheating2[i] != 1)
{
if(!IsAPlane(tmpcar))
{
new playerveh = GetPlayerVehicleID(i);
new vehicles = GetVehicleModel(playerveh) - 400;
GetPlayerName(i, plname, sizeof(plname));
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
format(string, 256, "[Anti-Cheat]: {FFFFFF}Server detected an speed hack on {FF0000}%s(%i){FFFFFF} (%i km/h) with vehicleid %i(%s).",plname,i,final_speed_int,playerveh,aVehicleNames[vehicles]);
ABroadCast(COLOR_GG,string,1); }
Cheating2[i] = 1;
SetTimerEx("UnSentCheating",5000,0,"i",i);
}
}
}