Warning 213: tag mismatch
#1

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(IsDMVCar(vehicleid))
    {
        if(!LicenseTest[playerid])
        {
            if(IsPlayerInAnyVehicle(playerid))
            {
                new dmvspeed = GetPlayerSpeed2(playerid); <---- THIS IS WHERE I GET THE WARNING.
                if (dmvspeed >= 90)
                {
                    DisablePlayerCheckpoint(playerid);
                    LicenseTest[playerid] = 0;
                    CP[playerid] = 0;
                    SetVehicleToRespawn(GetPlayerVehicleID(playerid));
                    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Driving Center: You were going to fast, therefore your test has been failed. (90 KM/H)");
                }
            }
	}
    }
Reply


Messages In This Thread
Warning 213: tag mismatch - by Tingesport - 15.02.2013, 15:52
Re: Warning 213: tag mismatch - by ReVo_ - 15.02.2013, 15:53
Re: Warning 213: tag mismatch - by Tingesport - 15.02.2013, 16:15
Re: Warning 213: tag mismatch - by ReVo_ - 15.02.2013, 16:17
Re: Warning 213: tag mismatch - by Tingesport - 15.02.2013, 16:18
Re: Warning 213: tag mismatch - by ReVo_ - 15.02.2013, 16:19
Re: Warning 213: tag mismatch - by Chris White - 15.02.2013, 16:21
Re: Warning 213: tag mismatch - by Tingesport - 15.02.2013, 16:21
Re: Warning 213: tag mismatch - by YoYo123 - 15.02.2013, 16:25
Re: Warning 213: tag mismatch - by LetsOWN[PL] - 15.02.2013, 16:33

Forum Jump:


Users browsing this thread: 3 Guest(s)