Jump to content
View in the app

A better way to browse. Learn more.

RDR2Mods.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I see Alexander Blade's ScriptHookRDR2 SDK is

DWORD model = GAMEPLAY::GET_HASH_KEY(const_cast<char *>(m_model.c_str()));
		if (STREAMING::IS_MODEL_IN_CDIMAGE(model) && STREAMING::IS_MODEL_VALID(model))
		{
			UINT64 *ptr1 = getGlobalPtr(0x28) + 0x27;
			UINT64 *ptr2 = getGlobalPtr(((DWORD)7 << 18) | 0x1890C) + 2;
			UINT64 bcp1 = *ptr1;
			UINT64 bcp2 = *ptr2;
			*ptr1 = *ptr2 = model;			
			WaitAndDraw(1000);
			Ped playerPed = PLAYER::PLAYER_PED_ID();
			PED::SET_PED_VISIBLE(playerPed, TRUE);
			if (ENTITY::GET_ENTITY_MODEL(playerPed) != model)
			{
				*ptr1 = bcp1;
				*ptr2 = bcp2;
			}
		}

But game updata,now can't.

What is "0x28" "0x27" "0x1890C" ?

  • Author
21 hours ago, LMS said:

Those are global offsets which can be found in the game scripts. I believe that for ptr2 you should now use getGlobalPtr(0x1D890E) + 2, but I did not test it.

 

Thank you,Can  you tell me how to get "0x1D890E"?

  • Author
On 12/25/2019 at 11:06 AM, LMS said:

It is used in the medium_update script, look for SET_PLAYER_MODEL references.

Thank you very much.

I have other two question:

 - How to change player honor?

 - How to always get perfect pelts when skinning? 

13 hours ago, Terry13143 said:

Thank you very much.

I have other two question:

 - How to change player honor?

 - How to always get perfect pelts when skinning? 

 

Player honor can be changed using ped decorators, I think Alexander's trainer has an example for this. Perfect pelt cannot be achieved using natives or globals I think.

  • Author
6 hours ago, LMS said:

 

Player honor can be changed using ped decorators, I think Alexander's trainer has an example for this. Perfect pelt cannot be achieved using natives or globals I think.

OK,Thank you very much again

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.