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

EDIT: Nevermind, it was another mod interfering.

 

Anyone has experience with changing a non-player ped's health? 

If I use this code and log it:

ENTITY::SET_ENTITY_MAX_HEALTH(myPed, 1000);	
ENTITY::SET_ENTITY_HEALTH(myPed, 500, 0);

LOGD << " " << ENTITY::GET_ENTITY_HEALTH(myPed) << " " << ENTITY::GET_ENTITY_MAX_HEALTH(myPed, 0);
WAIT(0);
LOGD << " " << ENTITY::GET_ENTITY_HEALTH(myPed) << " " << ENTITY::GET_ENTITY_MAX_HEALTH(myPed, 0);

It logs this:

2021-09-24 20:28:28. 500 1000
2021-09-24 20:28:28. 105 105

 

So it changes it's health but it changes back right after. Same if I change it to lower values. I can set it to 0 though to kill them.

Is there a way to do this, or am I doing something wrong?

Thanks!

 

On an unrelated note: I think the search function isn't working, I don't get any hits no matter what I search for..

Edited by crossed99

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.