Checkpoints gehen nicht weiter

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hexyho
    Ich arbeite gerade an einem Job, aber die Checkpoints gehn nicht weiter....

    if(IsPlayerInRangeOfPoint(playerid, 5.0,-103.3921,143.2402,4.1059) && FarmerCP[playerid] == 30)
    {
    SetPlayerCheckpoint(playerid, -188.3129,171.0141,9.2186 ,5.0);
    FarmerCP[playerid] = 1;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-188.3129,171.0141,9.21869) && FarmerCP[playerid] == 1)
    {
    SetPlayerCheckpoint(playerid, -272.1628,-43.3707,3.7175 ,5.0);
    FarmerCP[playerid] = 2;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-272.1628,-43.3707,3.7175) && FarmerCP[playerid] == 2)
    {
    SetPlayerCheckpoint(playerid, -193.6877,-82.6355,4.0926 ,5.0);
    FarmerCP[playerid] = 3;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-193.6877,-82.6355,4.0926) && FarmerCP[playerid] == 3)
    {
    SetPlayerCheckpoint(playerid, -106.9359,144.3870,4.1110,5.0);
    FarmerCP[playerid] = 4;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-106.9359,144.3870,4.1110) && FarmerCP[playerid] == 4)
    {
    SetPlayerCheckpoint(playerid, 19.8989,58.1932,4.0934,5.0);
    FarmerCP[playerid] = 5;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,19.8989,58.1932,4.0934) && FarmerCP[playerid] == 5)
    {
    SetPlayerCheckpoint(playerid, -77.4267,-7.0503,4.0936,5.0);
    FarmerCP[playerid] = 6;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-77.4267,-7.0503,4.0936) && FarmerCP[playerid] == 6)
    {
    SetPlayerCheckpoint(playerid, -2.4662,-11.4094,4.0933,5.0);
    SendClientMessage(playerid, Grün, "Für deine Saubere Arbeit bekommst du vom Farm Besitzer 8$ Trinkgeld. ");
    GivePlayerMoney(playerid, 8);
    FarmerCP[playerid] = 7;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-2.4662,-11.4094,4.0933) && FarmerCP[playerid] == 7)
    {
    SetPlayerCheckpoint(playerid, -42.1850,-101.3050,4.0907,5.0);
    FarmerCP[playerid] = 8;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-42.1850,-101.3050,4.0907) && FarmerCP[playerid] == 8)
    {
    SetPlayerCheckpoint(playerid, 32.3758,-115.1121,1.6013,5.0);
    FarmerCP[playerid] = 9;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,32.3758,-115.1121,1.6013) && FarmerCP[playerid] == 9)
    {
    SetPlayerCheckpoint(playerid, 76.4726,23.3849,1.5863,5.0);
    FarmerCP[playerid] = 10;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,76.4726,23.3849,1.5863) && FarmerCP[playerid] == 10)
    {
    SetPlayerCheckpoint(playerid, 19.8989,58.1932,4.0934,5.0);
    FarmerCP[playerid] = 11;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,19.8989,58.1932,4.0934) && FarmerCP[playerid] == 11)
    {
    SetPlayerCheckpoint(playerid, -106.9359,144.3870,4.1110,5.0);
    FarmerCP[playerid] = 12;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-106.9359,144.3870,4.1110) && FarmerCP[playerid] == 12)
    {
    SetPlayerCheckpoint(playerid, -193.6877,-82.6355,4.0926,5.0);
    FarmerCP[playerid] = 13;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-193.6877,-82.6355,4.0926) && FarmerCP[playerid] == 13)
    {
    SetPlayerCheckpoint(playerid,-272.1628,-43.3707,3.7175,5.0);
    FarmerCP[playerid] = 14;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-272.1628,-43.3707,3.7175) && FarmerCP[playerid] == 14)
    {
    SetPlayerCheckpoint(playerid,-188.3129,171.0141,9.2186,5.0);
    FarmerCP[playerid] = 15;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-188.3129,171.0141,9.2186) && FarmerCP[playerid] == 15)
    {
    SetPlayerCheckpoint(playerid,-103.3921,143.2402,4.1059,5.0);
    FarmerCP[playerid] = 16;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-103.3921,143.2402,4.1059) && FarmerCP[playerid] == 16)
    {
    SetPlayerCheckpoint(playerid,-77.4267,-7.0503,4.0936,5.0);
    FarmerCP[playerid] = 17;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-77.4267,-7.0503,4.0936) && FarmerCP[playerid] == 17)
    {
    SetPlayerCheckpoint(playerid,76.4726,23.3849,1.5863,5.0);
    FarmerCP[playerid] = 18;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,76.4726,23.3849,1.5863) && FarmerCP[playerid] == 18)
    {
    SetPlayerCheckpoint(playerid,32.3758,-115.1121,1.6013,5.0);
    FarmerCP[playerid] = 19;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,32.3758,-115.1121,1.601) && FarmerCP[playerid] == 19)
    {
    SetPlayerCheckpoint(playerid,-42.1850,-101.3050,4.0907,5.0);
    FarmerCP[playerid] = 20;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-42.1850,-101.3050,4.0907) && FarmerCP[playerid] == 20)
    {
    SetPlayerCheckpoint(playerid,-2.4662,-11.4094,4.0933,5.0);
    FarmerCP[playerid] = 21;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-2.4662,-11.4094,4.0933) && FarmerCP[playerid] == 21)
    {
    SetPlayerCheckpoint(playerid,-77.4267,-7.0503,4.0936,5.0);
    FarmerCP[playerid] = 22;
    }
    if(IsPlayerInRangeOfPoint(playerid, 5.0,-77.4267,-7.0503,4.0936) && Farmerfahrt[playerid] == 22)
    {
    SendClientMessage(playerid, Gelb, "Die Fahrt ist vorbei, Die Felder müssen jetzt nachwachsen.");
    SendClientMessage(playerid, Weiß, "Dein Gehalt erhälst du an deinem Zahltag.");
    SendClientMessage(playerid, Weiß, "Jetzt hast du Zeit um dich um andere dinge zu kümmern.");
    DisablePlayerCheckpoint(playerid);
    Farmerfahrt[playerid] = 0;
    TogglePlayerControllable(playerid, 0);
    SendClientMessage(playerid, Gelb, "Du kannst das Fahrzeug mit /exit verlassen.");
    sSpieler[playerid][JobGehalt] += 1150;
    FarmerCP[playerid] = 0;
    return 1;
    }


    ich finde keinen fehler...