mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-04 00:23:27 +08:00
fix(Globals): off radar and fast respawn globals (#2568)
This commit is contained in:
parent
fefaaeef3c
commit
b958981e02
@ -15,14 +15,14 @@ namespace big
|
||||
*scr_globals::disable_wasted_sound.as<bool*>() = true;
|
||||
|
||||
// triggers respawn instantly upon death, has no effect if not respawning so no need to check if the player's dead
|
||||
misc::set_bit(&(*scr_globals::freemode_properties.at(1685).at(756).as<int*>()), 1); // Update: freemode -> KILL_STRIP_H -> Above that = "!IS_BIT_SET(global, 2)"
|
||||
misc::set_bit(&(*scr_globals::freemode_properties.at(1689).at(756).as<int*>()), 1); // Update: freemode -> KILL_STRIP_H -> Above that = "!IS_BIT_SET(global, 2)"
|
||||
}
|
||||
|
||||
virtual void on_disable() override
|
||||
{
|
||||
*scr_globals::disable_wasted_sound.as<bool*>() = false;
|
||||
|
||||
misc::clear_bit(&(*scr_globals::freemode_properties.at(1685).at(756).as<int*>()), 1);
|
||||
misc::clear_bit(&(*scr_globals::freemode_properties.at(1689).at(756).as<int*>()), 1);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace big
|
||||
if (g.self.ghost_org)
|
||||
MISC::SET_BIT(scr_globals::freemode_global.at(4667).as<int*>(), 2);
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].OffRadarActive = true;
|
||||
*scr_globals::freemode_properties.at(57).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
|
||||
*scr_globals::freemode_properties.at(58).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
|
||||
}
|
||||
|
||||
virtual void on_disable() override
|
||||
|
Loading…
x
Reference in New Issue
Block a user