feat(mobile): Helicopter Pickup, Request Ammo Drop (#605)

This commit is contained in:
Rimmuru 2022-11-17 17:05:47 +00:00 committed by GitHub
parent f4e813c294
commit db75000851
2 changed files with 28 additions and 1 deletions

View File

@ -41,6 +41,19 @@ namespace big::mobile
*script_global(2703735).at(56).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
}
}
namespace merry_weather
{
inline void request_ammo_drop()
{
*script_global(mechanic_global).at(874).as<int*>() = 1;
}
inline void request_helicopter_pickup()
{
*script_global(mechanic_global).at(876).as<int*>() = 1;
}
}
namespace mors_mutual
{
@ -123,4 +136,4 @@ namespace big::mobile
}
}
}
}
}

View File

@ -12,6 +12,20 @@ namespace big
ImGui::Checkbox("Off Radar", &g->self.off_radar);
ImGui::Separator();
components::sub_title("Merryweather");
ImGui::Separator();
components::button("Request Ammo Drop", [] {
mobile::merry_weather::request_ammo_drop();
});
components::button("Helicopter Pickup", [] {
mobile::merry_weather::request_helicopter_pickup();
});
ImGui::Separator();
components::button("Mors Mutual Fix All Vehicles", [] {