mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 08:42:44 +08:00
Update to 1.64 (#691)
* Update some globals * fix(pointers): bypass C4 limit * fix(pointers): CanApplyData signature * feat(hooks): removed metric formatter The function in question no longer exists along with the other metric functions. * chore(metadata): bumped online and build number * fix(pointers): updated Rage Security signature * Updated some globals and locals. Part 1 * Update crossmap * chore(Script): update script patches * chore(nativeHooks): Update rage::scrProgram vtable size * chore(nativeHooks): Fix rage::scrProgram destructor index * fix(Sigscanner): Temporarily disable AC bypass * chore(Hooks): disable can_apply_data * Updated some globals and locals. Part 2 * chore(globals): Update transition state global * chore(ScriptLauncher): Update local index * feat(Toxic): Add new teleport locations * fix(Protections): Update max interior index Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com> Co-authored-by: Bugisoft <58910128+BugisoftRSG@users.noreply.github.com> Co-authored-by: BugisoftRSG <metaclientauth@gmail.com>
This commit is contained in:
@ -9,8 +9,8 @@ namespace big
|
||||
static bool state = false;
|
||||
static bool busy = false;
|
||||
|
||||
constexpr auto CARMOD_SHOP_STRUCT = 728; // struct<688> Local_
|
||||
constexpr auto CARMOD_SHOP_CUTSCENE = 2149; // "carmod_fam1" -- first boolean local below it
|
||||
constexpr auto CARMOD_SHOP_STRUCT = 730; // move_m@generic_idles@std -- one function below -- first local
|
||||
constexpr auto CARMOD_SHOP_CUTSCENE = 2208; // "carmod_fam1" -- first boolean local below it
|
||||
|
||||
void looped::vehicle_ls_customs()
|
||||
{
|
||||
@ -58,7 +58,7 @@ namespace big
|
||||
{
|
||||
if (auto carmod_shop_thread = gta_util::find_script_thread(hash); carmod_shop_thread)
|
||||
{
|
||||
*script_local(carmod_shop_thread, CARMOD_SHOP_STRUCT).at(406).as<int*>() = veh; // "HIDDEN_RADIO_09_HIPHOP_OLD"
|
||||
*script_local(carmod_shop_thread, CARMOD_SHOP_STRUCT).at(409).as<int*>() = veh; // "HIDDEN_RADIO_09_HIPHOP_OLD"
|
||||
*script_local(carmod_shop_thread, CARMOD_SHOP_CUTSCENE).as<bool*>() = false; // skips cutscene that's invisible
|
||||
|
||||
*script_local(carmod_shop_thread, CARMOD_SHOP_STRUCT).at(11).as<int*>() = 4;
|
||||
|
Reference in New Issue
Block a user