mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-11 17:58:06 +08:00
feat(mobile): Helicopter Pickup, Request Ammo Drop (#605)
This commit is contained in:
1 parent
f4e813c294
commit
db75000851
2 files changed
+28
-1
No files matched your search
+14
-1
@@ -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", [] {
|
||||
|
||||
Reference in new issue
Block a user