anti tune hack
#5

Quote:
Originally Posted by Phanto90
Посмотреть сообщение
In this way people using ****** will just need to go to that location and use hacks.
Hmm... What about using OnEnterExitModShop

pawn Код:
new bool:IsPlayerInModShop[MAX_PLAYERS];

public OnEnterExitModShop(playerid, enterexit, interiorid)
{
    if(!enterexit) IsPlayerInModShop[playerid] = false;
    else IsPlayerInModShop[playerid] = true;
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    if(!IsPlayerInModShop[playerid])
    {
        BanEx(playerid, "Tune Hack");
    }
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    if(!IsPlayerInModShop[playerid])
    {
        BanEx(playerid, "Tune Hack");
    }
}
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)