22.12.2012, 12:27
no.isn't this.this is it at line:OnPlayerEnterCheckpoint in the fs with jobs
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,Checkpoint2))
{
GivePlayerMoney(playerid, 1000);
GameTextForPlayer(playerid, "~g~You Completed the job, well done!", 3000, 3);
SetVehicleToRespawn(1);
DisablePlayerCheckpoint(playerid);
flyjobrunning = 0;
}
}
}
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,Checkpoint2))
{
GivePlayerMoney(playerid, 1000);
GameTextForPlayer(playerid, "~g~You Completed the job, well done!", 3000, 3);
SetVehicleToRespawn(1);
DisablePlayerCheckpoint(playerid);
flyjobrunning = 0;
}
}
}

