diff --git a/src/gtasa/effects/custom/mission/PassCurrentMissionEffect.cpp b/src/gtasa/effects/custom/mission/PassCurrentMissionEffect.cpp index a0d9190c..1c006db6 100644 --- a/src/gtasa/effects/custom/mission/PassCurrentMissionEffect.cpp +++ b/src/gtasa/effects/custom/mission/PassCurrentMissionEffect.cpp @@ -151,6 +151,7 @@ class PassCurrentMissionEffect : public EffectBase /* Las Venturas */ "DES3", // Interdiction "DESERT6", // N.O.E. + "DESERT9", // Stowaway "CASINO6", // The Meat Business "HEIST3", // Key To Her Heart /* ######################### */ @@ -388,4 +389,4 @@ class PassCurrentMissionEffect : public EffectBase } }; -DEFINE_EFFECT (PassCurrentMissionEffect, "effect_pass_current_mission", 0); \ No newline at end of file +DEFINE_EFFECT (PassCurrentMissionEffect, "effect_pass_current_mission", 0); diff --git a/src/gtasa/util/Teleportation.cpp b/src/gtasa/util/Teleportation.cpp index aef11f20..7894b066 100644 --- a/src/gtasa/util/Teleportation.cpp +++ b/src/gtasa/util/Teleportation.cpp @@ -146,6 +146,19 @@ Teleportation::TeleportOutOfMission (std::string missionName) Teleportation::Teleport (CVector (1051.0f, 2087.0f, 12.0f)); } } + else if (missionName == "DESERT9") + { + CPed *player; + Command (0, &player); + if(player + && Command ( + player, 308.4034, 1065.3812, 1942.6986, 325.2043, 949.9332, 1980.3237, + 0)) + { + Teleportation::Teleport (CVector (177.9967, 1099.6215, 700.0)); + CCheat::ParachuteCheat (); + } + } else if (missionName == "MAF4") { // Black Project CPed *player;