I have a few errors someone please?
#10

I have, look

pawn Код:
if(CP[playerid]==200)
    {
        if(IsPlayerInVehicle(playerid, dmv1) || IsPlayerInVehicle(playerid, dmv2) || IsPlayerInVehicle(playerid, dmv3) || IsPlayerInVehicle(playerid, dmv4) || IsPlayerInVehicle(playerid, dmv5))
        {
            DisablePlayerCheckpoint(playerid);
            CP[playerid] = 201;
            SetPlayerCheckpoint(playerid, 2073.780029,-1912.620361,13.244957, 5.0);
        }
        else
        {
            SendClientMessage(playerid, COLOR_LIGHTBLUE,"DMV: You are not in the car!");
            SendClientMessage(playerid, COLOR_LIGHTBLUE,"DMV: You didn't passed the test, please try again!");
            DisablePlayerCheckpoint(playerid);
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(GetPlayerVehicleID(playerid));
            TakingLesson[playerid] = 0;
        }else if(DCP[playerid]==201)
        {
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "Driver Instructor says: Always drive on the Right side of the road!");
                DisablePlayerCheckpoint(playerid);
                DCP[playerid] = 202;
                SetPlayerCheckpoint(playerid, 2079.123291,-1871.586303,13.048537, 5.0);
        }
Reply


Messages In This Thread
I have a few errors someone please? - by JessThompson - 27.07.2014, 21:12
Re: I have a few errors someone please? - by Jefff - 27.07.2014, 21:17
Re: I have a few errors someone please? - by JessThompson - 27.07.2014, 21:20
Re: I have a few errors someone please? - by Jefff - 27.07.2014, 21:22
Re: I have a few errors someone please? - by JessThompson - 27.07.2014, 21:56
Re: I have a few errors someone please? - by Jefff - 27.07.2014, 22:01
Re: I have a few errors someone please? - by JessThompson - 27.07.2014, 22:02
Re: I have a few errors someone please? - by JessThompson - 27.07.2014, 22:14
Re: I have a few errors someone please? - by Jefff - 27.07.2014, 22:17
Re: I have a few errors someone please? - by JessThompson - 27.07.2014, 22:20

Forum Jump:


Users browsing this thread: 1 Guest(s)