fixing everything

This commit is contained in:
Kaki 2021-12-29 14:24:12 +01:00
parent 15baa946cf
commit 57b08a23fa

View File

@ -1,6 +1,7 @@
#include "main_tabs.hpp" #include "main_tabs.hpp"
#include "fiber_pool.hpp" #include "fiber_pool.hpp"
#include "util/teleport.hpp" #include "util/teleport.hpp"
#include <vector>
namespace big namespace big
{ {
@ -16,23 +17,16 @@ namespace big
}QUEUE_JOB_END_CLAUSE }QUEUE_JOB_END_CLAUSE
} }
if (ImGui::Button("Waypoint")) if (ImGui::Button("Objective"))
{ {
QUEUE_JOB_BEGIN_CLAUSE() QUEUE_JOB_BEGIN_CLAUSE()
{ {
teleport::to_blip(1, 5); std::vector<int> blips = {1, 57, 128, 129, 130, 143, 144, 145, 146, 271, 286, 287, 288};
teleport::to_blip(57, 5); for (int i = 0; i < blips.size(); i++) {
teleport::to_blip(128, 5); if (teleport::to_blip(blips[i], 5)) {
teleport::to_blip(129, 5); break;
teleport::to_blip(130, 5); }
teleport::to_blip(143, 5); }
teleport::to_blip(144, 5);
teleport::to_blip(145, 5);
teleport::to_blip(146, 5);
teleport::to_blip(271, 5);
teleport::to_blip(286, 5);
teleport::to_blip(287, 5);
teleport::to_blip(288, 5);
}QUEUE_JOB_END_CLAUSE }QUEUE_JOB_END_CLAUSE
} }