feat(mobile): Helicopter Pickup, Request Ammo Drop (#605)
This commit is contained in:
parent
9877164591
commit
18611361fc
@ -41,6 +41,19 @@ namespace big::mobile
|
|||||||
*script_global(2703735).at(56).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
|
*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
|
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::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();
|
ImGui::Separator();
|
||||||
|
|
||||||
components::button("Mors Mutual Fix All Vehicles", [] {
|
components::button("Mors Mutual Fix All Vehicles", [] {
|
||||||
|
Reference in New Issue
Block a user