Some problems.
#4

Try This:

PHP код:
if (GetPlayerVehicleSeat(playerid) == 0)
    {
        if (
pInfo[playerid][PlayerSpeed] < 10)
        {
            if (
GetPlayerInterior(playerid) != pInfo[playerid][PreviousInt])
            {
                switch (
GetPlayerInterior(playerid))
                {
                    case 
0123:
                    {
                        
GetPlayerPos(playeridpInfo[playerid][PreviousX], pInfo[playerid][PreviousY], pInfo[playerid][PreviousZ]);
                        
pInfo[playerid][PreviousInt] = GetPlayerInterior(playerid);
                        return 
1;
                    }
                }
            }
            if (
IsPlayerInRangeOfPoint(playerid7.5pInfo[playerid][PreviousX], pInfo[playerid][PreviousY], pInfo[playerid][PreviousZ]))
            {
                new 
vehmodel GetVehicleModel(GetPlayerVehicleID(playerid));
                if(
vehmodel != 592 || vehmodel != 577)
                {
                    
SendReportToAdmins(-1playerid"Airbreak-hack");
                }
            }
      
        }
    }
    
GetPlayerPos(playeridpInfo[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: 2 Guest(s)