Hello need help
#1

Код:
	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
	new veh2 = GetPlayerVehicleID(playerid);// get the vehicle id
	new veh1 = GetVehicleModel(veh2);// get the vehicle model
	if(veh1 != 460 || veh1 != 520 ||veh1 != 519 ||veh1 != 553 ||veh1 != 577 ||veh1 != 592 ||veh1 != 593 ||veh1 != 513 ||veh1 !=512 ||veh1 !=511 ||veh1 != 476 )
	{
	if(GetVehicleSpeed(GetPlayerVehicleID(playerid)) > 250){
	SendClientMessage(playerid, COLOR_YELLOW, "You have been banned from the server. Reason: Sobiet Speed Hack");
	format(Jstring, 128, "Bot : %s has been Kicked from the server. Reason: Speed Hack", GetName(playerid));
	SendClientMessageToAll(COLOR_KRED, Jstring);
    SetTimerEx("KickPlayer",10,false,"d", playerid);
	return 1;
	}}
}

stock GetVehicleSpeed(vehicleid)
{ new Float:xPos[3]; GetVehicleVelocity(vehicleid, xPos[0], xPos[1], xPos[2]);
return floatround(floatsqroot(xPos[0] * xPos[0] + xPos[1] * xPos[1] + xPos[2] * xPos[2]) * 170.00); }
This is my speed hack with vehicle Anti cheat .. it working fine but we got a big Problem from todays there is Guy Join our server teleport all vehicles and throw all vehicle at high speed , the players which are driving the vehicles are pushed at high speed so this anti cheat thing they are doing Speed hack they got banned.

How i can stop that?
I tried almost all anti cheats from forums not working for us..
Please Help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)