2022-05-04 19:16:40 +02:00
|
|
|
#include "fiber_pool.hpp"
|
2022-06-30 00:11:54 +02:00
|
|
|
#include "services/mobile/mobile_service.hpp"
|
2022-05-04 19:16:40 +02:00
|
|
|
#include "util/mobile.hpp"
|
2022-06-30 00:11:54 +02:00
|
|
|
#include "views/view.hpp"
|
2022-05-04 19:16:40 +02:00
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
2023-03-01 21:27:15 +00:00
|
|
|
void view::mobile()
|
|
|
|
{
|
2023-04-14 18:54:07 +02:00
|
|
|
ImGui::SetWindowSize({0.f, (float)*g_pointers->m_gta.m_resolution_y}, ImGuiCond_Always);
|
2023-03-01 21:27:15 +00:00
|
|
|
|
2023-07-14 18:57:30 -04:00
|
|
|
|
2023-06-27 14:05:44 +02:00
|
|
|
ImGui::SeparatorText("MERRYWEATHER"_T.data());
|
2022-11-17 17:05:47 +00:00
|
|
|
|
2023-02-01 19:46:33 +01:00
|
|
|
components::button("MW_AMMO_DROP"_T, [] {
|
2022-11-17 17:05:47 +00:00
|
|
|
mobile::merry_weather::request_ammo_drop();
|
|
|
|
});
|
|
|
|
|
2023-02-01 19:46:33 +01:00
|
|
|
components::button("MW_HELI_PICKUP"_T, [] {
|
2022-11-17 17:05:47 +00:00
|
|
|
mobile::merry_weather::request_helicopter_pickup();
|
|
|
|
});
|
|
|
|
|
2023-02-04 23:49:44 +01:00
|
|
|
components::command_button<"boatpickup">();
|
|
|
|
|
2023-02-01 19:46:33 +01:00
|
|
|
components::button("MW_BACKUP_HELI"_T, [] {
|
2022-12-30 02:09:33 +01:00
|
|
|
mobile::merry_weather::request_backup_helicopter();
|
|
|
|
});
|
|
|
|
|
2023-02-01 19:46:33 +01:00
|
|
|
components::button("MW_AIRSTRIKE"_T, [] {
|
2022-12-30 02:09:33 +01:00
|
|
|
mobile::merry_weather::request_airstrike();
|
|
|
|
});
|
|
|
|
|
2023-07-14 18:57:30 -04:00
|
|
|
|
|
|
|
ImGui::SeparatorText("CEO_ABILITIES"_T.data());
|
|
|
|
|
|
|
|
components::button("CEO_BULLSHARK"_T, [] {
|
|
|
|
mobile::ceo_abilities::request_bullshark_testosterone();
|
|
|
|
});
|
|
|
|
|
|
|
|
components::command_button<"ballisticarmor">();
|
|
|
|
|
|
|
|
|
2023-10-20 12:24:44 -04:00
|
|
|
ImGui::SeparatorText("VIEW_SELF_MOBILE_SERVICES"_T.data());
|
2023-07-14 18:57:30 -04:00
|
|
|
|
|
|
|
components::command_button<"avenger">();
|
|
|
|
components::command_button<"kosatka">();
|
|
|
|
components::command_button<"moc">();
|
|
|
|
components::command_button<"terrorbyte">();
|
|
|
|
components::command_button<"acidlab">();
|
|
|
|
components::command_button<"acidbike">();
|
|
|
|
|
2023-10-20 12:24:44 -04:00
|
|
|
ImGui::SeparatorText("DEBUG_TAB_MISC"_T.data());
|
2023-07-14 18:57:30 -04:00
|
|
|
|
|
|
|
components::command_button<"taxi">();
|
|
|
|
|
2023-11-08 23:16:10 +01:00
|
|
|
components::command_button<"gunvan">();
|
2023-07-14 18:57:30 -04:00
|
|
|
|
2023-06-27 14:05:44 +02:00
|
|
|
ImGui::SeparatorText("MORS_MUTUAL"_T.data());
|
2022-05-04 19:16:40 +02:00
|
|
|
|
2023-02-01 19:46:33 +01:00
|
|
|
components::button("MORS_FIX_ALL"_T, [] {
|
2022-07-10 06:33:14 +08:00
|
|
|
int amount_fixed = mobile::mors_mutual::fix_all();
|
2024-03-23 00:04:49 +01:00
|
|
|
g_notification_service.push_success("MOBILE"_T.data(),
|
2023-03-01 21:27:15 +00:00
|
|
|
std::vformat("VEHICLE_FIX_AMOUNT"_T,
|
|
|
|
std::make_format_args(amount_fixed,
|
|
|
|
amount_fixed == 1 ? "VEHICLE_FIX_HAS"_T.data() : "VEHICLE_FIX_HAVE"_T.data())));
|
2022-07-10 06:33:14 +08:00
|
|
|
});
|
2022-05-04 19:16:40 +02:00
|
|
|
}
|
2024-03-23 00:04:49 +01:00
|
|
|
}
|