Some problems.
#7

try this
pawn Код:
if (GetPlayerVehicleSeat(playerid) == 0)
    {
        if (pInfo[playerid][PlayerSpeed] < 10)
        {
            if (GetPlayerInterior(playerid) != pInfo[playerid][PreviousInt])
            {
                switch (GetPlayerInterior(playerid))
                {
                    case 0, 1, 2, 3:
                    {
                        GetPlayerPos(playerid, pInfo[playerid][PreviousX], pInfo[playerid][PreviousY], pInfo[playerid][PreviousZ]);
                        pInfo[playerid][PreviousInt] = GetPlayerInterior(playerid);
                        return 1;
                    }
                }
            }
new vehmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
            if (!IsPlayerInRangeOfPoint(playerid, 7.5, pInfo[playerid][PreviousX], pInfo[playerid][PreviousY], pInfo[playerid][PreviousZ]) && (vehmodel != 592 || vehmodel != 577))
            SendReportToAdmins(-1, playerid, "Airbreak-hack");
else if (!IsPlayerInRangeOfPoint(playerid, 12.0, pInfo[playerid][PreviousX], pInfo[playerid][PreviousY], pInfo[playerid][PreviousZ]) && (vehmodel == 592 || vehmodel == 577))//increasing range for androm & at400 also if this not works try increasing range a little bit more in this line
        }
    }
    GetPlayerPos(playerid, pInfo[playerid][PreviousX], pInfo[playerid][PreviousY], pInfo[playerid][PreviousZ]);
    pInfo[playerid][PreviousInt] = GetPlayerInterior(playerid);
Reply


Messages In This Thread
Some problems. - by iOxide - 29.06.2014, 05:08
Re: Some problems. - by AiRaLoKa - 29.06.2014, 06:02
Re: Some problems. - by iOxide - 29.06.2014, 06:15
Re: Some problems. - by Pboachie - 29.06.2014, 06:17
Re: Some problems. - by AiRaLoKa - 29.06.2014, 06:20
Re: Some problems. - by iOxide - 29.06.2014, 08:18
Re: Some problems. - by BroZeus - 29.06.2014, 10:34

Forum Jump:


Users browsing this thread: 1 Guest(s)