mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-23 04:27:25 +08:00
feat(mobile): Helicopter Pickup, Request Ammo Drop (#605)
This commit is contained in:
parent
f4e813c294
commit
db75000851
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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", [] {
|
||||
|
Loading…
Reference in New Issue
Block a user