feat(mobile): Helicopter Pickup, Request Ammo Drop (#605)
This commit is contained in:
parent
9877164591
commit
18611361fc
@ -42,6 +42,19 @@ namespace big::mobile
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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
|
namespace mors_mutual
|
||||||
{
|
{
|
||||||
inline bool fix_index(int veh_idx, bool spawn_veh = false)
|
inline bool fix_index(int veh_idx, bool spawn_veh = false)
|
||||||
|
@ -14,6 +14,20 @@ namespace big
|
|||||||
|
|
||||||
ImGui::Separator();
|
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", [] {
|
components::button("Mors Mutual Fix All Vehicles", [] {
|
||||||
int amount_fixed = mobile::mors_mutual::fix_all();
|
int amount_fixed = mobile::mors_mutual::fix_all();
|
||||||
g_notification_service->push("Mobile",
|
g_notification_service->push("Mobile",
|
||||||
|
Reference in New Issue
Block a user