PDA

View Full Version : Streamer Issue


SnG.Scot_MisCuDI
04/03/2012, 02:36 AM
Im making a job filterscript and after you enter the first DynamicCP the next one wont show up.. I tried using normal checkpoints but it messed up all the other dynamicCP i used

if (strcmp("/truckjob", cmdtext, true, 10) == 0)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 403 && 515 && 514)
{
if(!IsTrailerAttachedToVehicle(GetPlayerVehicleID( playerid))){ SendClientMessage(playerid,COLOR_RED,"* You don't have a trailer attached to the vehicle!"); return 1; }
if(PetrolJob[playerid] != 1 && PetrolJob[playerid] != 2 && PetrolJob[playerid] != 3 && PetrolJob[playerid] != 4 && PetrolJob[playerid] != 5 && PetrolJob[playerid] != 6 && PetrolJob[playerid] != 7 && PetrolJob[playerid] != 8 && PetrolJob[playerid] != 9 && PetrolJob[playerid] != 10 && PetrolJob[playerid] != 11 && PetrolJob[playerid] != 12 && PetrolJob[playerid] != 13 && PetrolJob[playerid] != 14){ PetrolJob[playerid] = 1; }

new name[MAX_PLAYER_NAME], string[48], str[48];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "* %s is now a Long Haul Trucker.", name );
SendClientMessageToAll(COLOR_YELLOW, string);
format(str, sizeof(str), "* Drive to the dark red marker on your map");
SendClientMessage(playerid,COLOR_YELLOW, str);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}

}
if(GetVehicleModel(!GetPlayerVehicleID(playerid)) == 403 && 515 && 514) return SendClientMessage(playerid,COLOR_RED,"* You have to be in a Long Haul Truck to start the mission!");
return 1;
}
}
if (strcmp("/taxijob", cmdtext, true, 10) == 0)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 && 438)
{
if(PetrolJob[playerid] != 1 && PetrolJob[playerid] != 2 && PetrolJob[playerid] != 3 && PetrolJob[playerid] != 4 && PetrolJob[playerid] != 5 && PetrolJob[playerid] != 6 && PetrolJob[playerid] != 7 && PetrolJob[playerid] != 8 && PetrolJob[playerid] != 9 && PetrolJob[playerid] != 10 && PetrolJob[playerid] != 11 && PetrolJob[playerid] != 12 && PetrolJob[playerid] != 13 && PetrolJob[playerid] != 14){ PetrolJob[playerid] = 1; }

new name[MAX_PLAYER_NAME], string[48], str[48];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "* %s is now a Taxi Driver.", name );
SendClientMessageToAll(COLOR_YELLOW, string);
format(str, sizeof(str), "* Drive to the dark red marker on your map");
SendClientMessage(playerid,COLOR_YELLOW, str);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}

}
if(GetVehicleModel(!GetPlayerVehicleID(playerid)) == 420 && 438) return SendClientMessage(playerid,COLOR_RED,"* You have to be in a Taxi or Cabbie to start the mission!");
return 1;
}
}
return 0;
}

public OnPlayerEnterDynamicCP(playerid)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 403 && 515 && 514)
{
if(!IsTrailerAttachedToVehicle(GetPlayerVehicleID( playerid))){ SendClientMessage(playerid,COLOR_RED,"* You don't have a trailer attached to the vehicle!"); DisablePlayerCheckpoint(playerid); RemovePlayerMapIcon(playerid,1); return 1; }

if(PetrolJob[playerid] == 1){
PetrolJob[playerid] = 2;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}
}

if(PetrolJob[playerid] == 2){
PetrolJob[playerid] = 3;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 3){
PetrolJob[playerid] = 4;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 4){
PetrolJob[playerid] = 5;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 5){
PetrolJob[playerid] = 6;
DisablePlayerCheckpoint(playerid);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 6){
PetrolJob[playerid] = 7;
DisablePlayerCheckpoint(playerid);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 7){
PetrolJob[playerid] = 8;
DisablePlayerCheckpoint(playerid);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 8){
PetrolJob[playerid] = 9;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 9){
PetrolJob[playerid] = 10;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}
if(PetrolJob[playerid] == 10){
PetrolJob[playerid] = 11;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 11){
PetrolJob[playerid] = 12;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 12){
PetrolJob[playerid] = 13;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 13){
PetrolJob[playerid] = 14;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}
if(PetrolJob[playerid] == 14){
PetrolJob[playerid] = 15;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
job = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
job = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
job = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
job = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
job = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
job = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
job = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
job = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
job = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
job = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
job = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
job = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
job = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
job = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
job = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,25000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $25,000!"); //done
return 1;
}
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420 && 438)
{
if(PetrolJob[playerid] == 1){
PetrolJob[playerid] = 2;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000"); //done
return 1;
}
}

if(PetrolJob[playerid] == 2){
PetrolJob[playerid] = 3;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 3){
PetrolJob[playerid] = 4;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 4){
PetrolJob[playerid] = 5;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 5){
PetrolJob[playerid] = 6;
DisablePlayerCheckpoint(playerid);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 6){
PetrolJob[playerid] = 7;
DisablePlayerCheckpoint(playerid);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 7){
PetrolJob[playerid] = 8;
DisablePlayerCheckpoint(playerid);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 8){
PetrolJob[playerid] = 9;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 9){
PetrolJob[playerid] = 10;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 10){
PetrolJob[playerid] = 11;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 11){
PetrolJob[playerid] = 12;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 12){
PetrolJob[playerid] = 13;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 13){
PetrolJob[playerid] = 14;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}

if(PetrolJob[playerid] == 14){
PetrolJob[playerid] = 15;
DisablePlayerCheckpoint(playerid);
RemovePlayerMapIcon(playerid,1);
switch(random(14)) //thats just guessing your switching between 4 random ones. to do more, change the 3
{
case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}
case 3:
{
tjob = CreateDynamicCP(-1977.3169,1329.5413,7.1875,10,-1,-1,-1,9999); ///done
}
case 4:
{
tjob = CreateDynamicCP(-1629.0060,1197.0961,7.0391,10,-1,-1,-1,9999); //done
}
case 5:
{
tjob = CreateDynamicCP(-1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 6:
{
tjob = CreateDynamicCP(1563.7115,748.2600,7.0391,10,-1,-1,-1,9999); //done
}
case 7:
{
tjob = CreateDynamicCP(2024.2100,156.9311,28.8359,10,-1,-1,-1,9999); //done
}
case 8:
{
tjob = CreateDynamicCP(-2120.4302,-247.7460,35.3203,10,-1,-1,-1,9999); //done
}
case 9:
{
tjob = CreateDynamicCP(1597.5651,1265.2375,10.8125,10,-1,-1,-1,9999); //done
}
case 10:
{
tjob = CreateDynamicCP(2158.2183,1683.7500,10.6953,10,-1,-1,-1,9999); //done
}
case 11:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 12:
{
tjob = CreateDynamicCP(2114.7864,919.9155,10.8203,10,-1,-1,-1,9999); //done
}
case 13:
{
tjob = CreateDynamicCP(2039.9935,1009.7315,10.6719,10,-1,-1,-1,9999); //done
}
case 14:
{
tjob = CreateDynamicCP(2150.2598,-1176.2529,23.8203,10,-1,-1,-1,9999); //done
}
case 15:
{
tjob = CreateDynamicCP(1995.2754,-1448.5173,13.5630,10,-1,-1,-1,9999); //done
}
}
GivePlayerMoney(playerid,10000);
SendClientMessage(playerid,COLOR_YELLOW,"* You have earned $10,000!"); //done
return 1;
}
}

Lynn
04/03/2012, 03:46 AM
I just glanced over it, but may instead of;

new tjob;

Use

new tjob[3];// Varies depending on the amount of 'cases' you have.

and instead of;

case 0:
{
tjob = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}

Do something like;

case 0:
{
tjob[0] = CreateDynamicCP(1944.7424,-1771.1267,13.1157,10,-1,-1,-1,9999);
}
case 1:
{
tjob[1] = CreateDynamicCP(1003.4263,-941.8485,41.8079,10,-1,-1,-1,9999);
}
case 2:
{
tjob[2] = CreateDynamicCP(-97.8173,-1166.7585,2.2650,10,-1,-1,-1,9999);
}

SnG.Scot_MisCuDI
04/03/2012, 04:13 AM
i got error 033: array must be indexed (variable "tjob"
Any other way u can think of?