22.12.2012, 13:57
Well "CheckPoint2" isn't even defined, anyways it might be a fail try this
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 519)
{
if (IsPlayerInRangeOfPoint(playerid, 7.0,Checkpoint1))
{
SetPlayerCheckpoint(playerid, Checkpoint2, 7.0);
GameTextForPlayer(playerid, "~g~Now fly back to Los Santos Airport to collect your paycheck.", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0, HotPoint2))
{
GivePlayerMoney(playerid, 1000);
GameTextForPlayer(playerid, "~g~You Completed the job, well done!", 3000, 3);
SetVehicleToRespawn(1);
DisablePlayerCheckpoint(playerid);
flyjobrunning = 0;
}
}
}

