if(GetVehicleModel(vehicleid) == 408)
{
SendClientMessage(playerid,FARBE_GELB, "Fahre nun die Checkpoints ab um dein Geld zu verdienen!");
SetPlayerCheckpoint(playerid,1005.3839,2115.8218,10.3990,5.0);
Muellfahrerjob[playerid] = 1;
}
if(Muellfahrerjob[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1004.6253,1820.7295,10.4447,5.0);
Muellfahrerjob[playerid] = 2;
}
if(Muellfahrerjob[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1288.1023,1810.4141,10.4394,5.0);
Muellfahrerjob[playerid] = 3;
}
if(Muellfahrerjob[playerid] == 3)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1224.5261,2133.7378,6.4615,5.0);
Muellfahrerjob[playerid] = 4;
}
if(Muellfahrerjob[playerid] == 4)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1594.3228,2458.9058,6.5383,5.0);
Muellfahrerjob[playerid] = 5;
}
if(Muellfahrerjob[playerid] == 5)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2711.7727,2028.8828,6.4705,5.0);
Muellfahrerjob[playerid] = 6;
}
if(Muellfahrerjob[playerid] == 6)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2709.8687,1414.9740,6.4615,5.0);
Muellfahrerjob[playerid] = 7;
}
if(Muellfahrerjob[playerid] == 7)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2128.0376,854.0501,6.4615,5.0);
Muellfahrerjob[playerid] = 8;
}
if(Muellfahrerjob[playerid] == 8)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2069.0667,971.4876,10.1434,5.0);
Muellfahrerjob[playerid] = 9;
}
if(Muellfahrerjob[playerid] == 9)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2069.6982,1671.7507,10.4081,5.0);
Muellfahrerjob[playerid] = 10;
}
if(Muellfahrerjob[playerid] == 10)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2229.7896,2434.1558,10.3989,5.0);
Muellfahrerjob[playerid] = 11;
}
if(Muellfahrerjob[playerid] == 11)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2254.2292,2511.1787,10.3990,5.0);
Muellfahrerjob[playerid] = 12;
}
if(Muellfahrerjob[playerid] == 12)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2382.8943,2511.2690,10.5104,5.0);
Muellfahrerjob[playerid] = 13;
}
if(Muellfahrerjob[playerid] == 13)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2364.7358,2715.3962,10.3990,5.0);
Muellfahrerjob[playerid] = 14;
}
if(Muellfahrerjob[playerid] == 14)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,2123.7954,2775.1775,10.5533,5.0);
Muellfahrerjob[playerid] = 15;
}
if(Muellfahrerjob[playerid] == 15)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1958.1555,2745.0415,10.3990,5.0);
Muellfahrerjob[playerid] = 16;
}
if(Muellfahrerjob[playerid] == 16)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1715.0790,2714.9148,10.3990,5.0);
Muellfahrerjob[playerid] = 17;
}
if(Muellfahrerjob[playerid] == 17)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1575.6969,2736.1541,10.4016,5.0);
Muellfahrerjob[playerid] = 18;
}
if(Muellfahrerjob[playerid] == 18)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1321.3407,2715.7156,10.3990,5.0);
Muellfahrerjob[playerid] = 19;
}
if(Muellfahrerjob[playerid] == 19)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1244.8231,2614.1106,10.4397,5.0);
Muellfahrerjob[playerid] = 20;
}
if(Muellfahrerjob[playerid] == 20)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1466.7644,2586.9031,10.4285,5.0);
Muellfahrerjob[playerid] = 21;
}
if(Muellfahrerjob[playerid] == 21)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1565.6910,2283.2878,10.4106,5.0);
Muellfahrerjob[playerid] = 22;
}
if(Muellfahrerjob[playerid] == 22)
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1525.0085,2081.0925,10.3990,5.0);
Muellfahrerjob[playerid] = 23;
}
if(Muellfahrerjob[playerid] == 23)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid,"~g~Auftrag beendet ~n~ 750.45$",2000,3);
Info[playerid][GeldEC] += 750.45;
}
Sofern ich durch den ersten Checkpoint fahre wird er gewertet als wenn es der lezte ist und er bekommt halt beim ersten Checkpoint schon die Belohnung.