NPC wont connect
#4

Код:
acCarCheck(playerid) {
	if(IsPlayerInAnyVehicle(playerid)) {
		new seat = GetPlayerVehicleSeat(playerid);
		new c = GetPlayerVehicleID(playerid);
		if(PlayerOwnsCar(c,playerid)) return 1;
		if(currentCar[playerid][0] != c) {
			hackKick(playerid, "Vehicle Hacks(Controlling/TPing into cars)", "Vehicle Hacks");
		} else if(seat == 0 && currentCar[playerid][1] != 0 && seat != 128) {
			hackKick(playerid, "Vehicle Hacks(Controlling from passenger)", "Vehicle Hacks");
		}
	} else if(currentCar[playerid][0] != 0 && currentCar[playerid][2] < 1) {
			currentCar[playerid][0] = 0;
	}
	return 1;
}
here is a piece of code from anti cheat
Reply


Messages In This Thread
NPC wont connect - by Astonish - 15.05.2018, 13:37
Re: NPC wont connect - by kovac - 15.05.2018, 13:43
Re: NPC wont connect - by Astonish - 15.05.2018, 13:45
Re: NPC wont connect - by Astonish - 15.05.2018, 13:54
Re: NPC wont connect - by kovac - 15.05.2018, 16:24
Re: NPC wont connect - by Astonish - 15.05.2018, 16:35
Re: NPC wont connect - by GTLS - 15.05.2018, 16:51
Re: NPC wont connect - by Astonish - 15.05.2018, 17:03
Re: NPC wont connect - by OsmanMalagic - 15.05.2018, 17:44
Re: NPC wont connect - by Sew_Sumi - 15.05.2018, 17:59

Forum Jump:


Users browsing this thread: 2 Guest(s)