2022-02-28 23:04:56 +01:00
|
|
|
#include "views/view.hpp"
|
|
|
|
#include "fiber_pool.hpp"
|
|
|
|
#include "util/globals.hpp"
|
2022-07-27 14:39:22 +02:00
|
|
|
#include "util/mobile.hpp"
|
2022-02-28 23:04:56 +01:00
|
|
|
#include "util/teleport.hpp"
|
|
|
|
#include "util/vehicle.hpp"
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
2022-06-27 15:45:26 +02:00
|
|
|
void view::teleport()
|
|
|
|
{
|
2022-02-28 23:04:56 +01:00
|
|
|
ImGui::Text("Blips:");
|
|
|
|
|
2022-12-22 21:23:32 +00:00
|
|
|
components::command_button<"waypointtp">({}, "Waypoint");
|
|
|
|
ImGui::SameLine();
|
|
|
|
components::command_button<"objectivetp">({}, "Objective");
|
2022-02-28 23:04:56 +01:00
|
|
|
|
2022-12-18 23:15:52 +01:00
|
|
|
ImGui::Checkbox("Auto-Teleport To Waypoint", &g.self.auto_tp);
|
2022-12-06 16:12:02 +00:00
|
|
|
|
2022-02-28 23:04:56 +01:00
|
|
|
ImGui::Text("Vehicles:");
|
2022-12-22 21:23:32 +00:00
|
|
|
components::command_button<"lastvehtp">();
|
|
|
|
ImGui::SameLine();
|
|
|
|
components::command_button<"bringpv">();
|
|
|
|
ImGui::SameLine();
|
|
|
|
components::command_button<"pvtp">();
|
2022-02-28 23:04:56 +01:00
|
|
|
}
|
2022-06-27 15:45:26 +02:00
|
|
|
}
|