anti tune hack
#4

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
pawn Код:
public OnVehicleMod(playerid, vehicleid, componentid)
{
    new interior = GetPlayerInterior(playerid);
    if(interior == 2 && IsPlayerInRangeOfPoint(playerid,15.0,616.7820,-74.815,997.6350)) return 1;//Loco Low
    if(interior == 3 && IsPlayerInRangeOfPoint(playerid,15.0,615.2851,-124.2390,997.6350)) return 1; //Wheel Arch Angels
    if(interior == 1 && IsPlayerInRangeOfPoint(playerid,15.0,617.5380,-1.9900,1000.6829)) return 1; //Transfender
    BanEx(playerid,"Tune Hacks");
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    new interior = GetPlayerInterior(playerid);
    if(interior == 2 && IsPlayerInRangeOfPoint(playerid,15.0,616.7820,-74.815,997.6350)) return 1;//Loco Low
    if(interior == 3 && IsPlayerInRangeOfPoint(playerid,15.0,615.2851,-124.2390,997.6350)) return 1; //Wheel Arch Angels
    if(interior == 1 && IsPlayerInRangeOfPoint(playerid,15.0,617.5380,-1.9900,1000.6829)) return 1; //Transfender
    BanEx(playerid,"Tune Hacks");
    return 1;
}
Maybe something like this?
In this way people using ****** will just need to go to that location and use hacks.

I suggest managing Car mods server side by creating an array where you store vehicle's information for each slot (obviously you can't use transfenders or other, you should create a your own vehicle modding system, maybe in dialog because there is no way to check if player selected mods in garage or not)
Reply


Messages In This Thread
anti tune hack - by [LHT]Bally - 11.12.2011, 18:03
Re: anti tune hack - by [MG]Dimi - 12.12.2011, 07:07
Re: anti tune hack - by wildcookie007 - 12.12.2011, 10:14
Re: anti tune hack - by Phanto90 - 12.12.2011, 11:27
Respuesta: Re: anti tune hack - by OPremium - 12.12.2011, 13:03

Forum Jump:


Users browsing this thread: 1 Guest(s)