mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-04 00:23:27 +08:00
fix: update more globals to 1.67 (#1415)
This commit is contained in:
parent
df9347552e
commit
c1d7e39186
@ -33,11 +33,11 @@ namespace big
|
||||
}
|
||||
else if (scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[id].SimpleInteriorData.Index != eSimpleInteriorIndex::SIMPLE_INTERIOR_INVALID)
|
||||
{
|
||||
*script_global(1950108).at(3346).as<Player*>() =
|
||||
*script_global(1950844).at(3347).as<Player*>() =
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[id].SimpleInteriorData.Owner;
|
||||
*script_global(1950108).at(3683).as<eSimpleInteriorIndex*>() =
|
||||
*script_global(1950844).at(3684).as<eSimpleInteriorIndex*>() =
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[id].SimpleInteriorData.Index;
|
||||
*script_global(1950108).at(3682).as<bool*>() = true;
|
||||
*script_global(1950844).at(3683).as<bool*>() = true;
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].SimpleInteriorData.InteriorSubtype =
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[id].SimpleInteriorData.InteriorSubtype;
|
||||
}
|
||||
|
@ -66,7 +66,7 @@ namespace big
|
||||
|
||||
if (g.self.dance_mode && g.m_dance_thread->m_handler)
|
||||
{
|
||||
*script_global(1950102).as<bool*>() = true;
|
||||
*script_global(1950837).as<bool*>() = true;
|
||||
scr_functions::dance_loop.call(g.m_dance_thread, g.m_dance_program, {});
|
||||
}
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ namespace big
|
||||
if (g.notifications.transaction_rate_limit.notify)
|
||||
g_notification_service->push_warning("Transaction Rate Limit", "You're receiving transaction rate limits, whatever you're doing do it less.");
|
||||
|
||||
*script_global(4536673).as<int*>() = 0;
|
||||
*script_global(4536677).as<int*>() = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
namespace big::mobile
|
||||
{
|
||||
inline auto player_global = script_global(2657589);
|
||||
inline auto player_global = script_global(2657704);
|
||||
|
||||
namespace util
|
||||
{
|
||||
@ -33,27 +33,27 @@ namespace big::mobile
|
||||
{
|
||||
inline void request_ammo_drop()
|
||||
{
|
||||
*script_global(scr_globals::mechanic_global).at(886).as<int*>() = 1;
|
||||
*script_global(scr_globals::mechanic_global).at(891).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_boat_pickup()
|
||||
{
|
||||
*script_global(scr_globals::mechanic_global).at(887).as<int*>() = 1;
|
||||
*script_global(scr_globals::mechanic_global).at(892).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_helicopter_pickup()
|
||||
{
|
||||
*script_global(scr_globals::mechanic_global).at(888).as<int*>() = 1;
|
||||
*script_global(scr_globals::mechanic_global).at(893).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_backup_helicopter()
|
||||
{
|
||||
*script_global(scr_globals::mechanic_global).at(4484).as<int*>() = 1;
|
||||
*script_global(scr_globals::mechanic_global).at(4491).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_airstrike()
|
||||
{
|
||||
*script_global(scr_globals::mechanic_global).at(4485).as<int*>() = 1;
|
||||
*script_global(scr_globals::mechanic_global).at(4492).as<int*>() = 1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ namespace big
|
||||
ImGui::Checkbox("SEMI_GODMODE"_T.data(), &g_player_service->get_selected()->semi_godmode);
|
||||
|
||||
components::button("Gooch Test", [] {
|
||||
*script_global(1890140).at(244).at(1).as<Player*>() = g_player_service->get_selected()->id();
|
||||
*script_global(1890378).at(289).at(1).as<Player*>() = g_player_service->get_selected()->id();
|
||||
scripts::start_launcher_script(171);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user