Pawno Errors
#3

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if((truckjobrunning) == 1)
    {
        truckjobrunning = 0;
        SendClientMessage(playerid, COLOR_RED, "You left your truck behind, get in again if you want to continue your job.");
    }
    else if((truckjobrunning) == 0)
    {
        if((flyjobrunning) == 1)
        {
            flyjobrunning = 0;        
            endClientMessage(playerid, COLOR_RED, "You left the plane, you failed the job.");
        }
        else if((flyjobrunning) == 0)
        {        //Nothing }}
        }
    }
    return 1;
}
You were missing a bracket or two and you forgot to return.
Reply


Messages In This Thread
Pawno Errors - by Yordan_Kronos - 04.06.2012, 12:31
Re: Pawno Errors - by Sandiel - 04.06.2012, 12:39
Re: Pawno Errors - by IceCube! - 04.06.2012, 12:44
Re: Pawno Errors - by Firo - 04.06.2012, 12:47
Re: Pawno Errors - by IceCube! - 04.06.2012, 12:48
Re: Pawno Errors - by Firo - 04.06.2012, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)