Whats wrong with it?
#5

Код:
I changed the code a bit.
new FLYVehicles[] = {
469, 447,  463 ,488 , 487 , 417, 425 ,497 , 460 ,  520 , 519 , 553 , 577 ,592  ,593 , 513 ,512 ,511  ,476 , 548
};

stock IsVehicleFLYVehicle(vehicleid)
{
	for(new v; v < 20; v++)
	{
	    if(GetVehicleModel(vehicleid) == FLYVehicles[v]) return 1;
	}
	return 0;
}





	if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
	if(GetVehicleSpeed(GetPlayerVehicleID(playerid)) > 250 && !IsVehicleFLYVehicle(GetPlayerVehicleID(playerid))){
	SendClientMessage(playerid, COLOR_YELLOW, "You have been banned from the server. Reason: Sobiet Speed Hack");
	format(Jstring, 128, "Bot : %s has been Banned from the server. Reason: Speed Hack", GetName(playerid));
	SendClientMessageToAll(COLOR_KRED, Jstring);
    SetTimerEx("BP",10,false,"d", playerid);
	return 1;
	}}
I tried now this with rustler not get banned and high speed is it .! and i tried other vehicles like patriot they got banned with speed hack and this Work Fine! thanks For Repy Rep++
Reply


Messages In This Thread
Whats wrong with it? - by MBilal - 19.01.2015, 19:31
Re: Whats wrong with it? - by Ironboy - 19.01.2015, 19:40
Re: Whats wrong with it? - by MBilal - 19.01.2015, 19:56
Re: Whats wrong with it? - by Vince - 19.01.2015, 20:03
Re: Whats wrong with it? - by MBilal - 19.01.2015, 20:16

Forum Jump:


Users browsing this thread: 2 Guest(s)