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.

Is there a native function that is like IS_PED_IN_CAMP or something like that?

Featured Replies

Posted

I'm trying to figure out when the player is within borders of camps or other places where his move speed is limited. Is there a native function that is like IS_PED_IN_CAMP or something like that?

 

 

I'm developing a mod for custom walking/running speed and what would be even better is if there is way to know when the player's speed is limited. For example, in camp you can't go past fast walking. When you are carrying a body, you can't sprint. Those are the kinds of limits that I would like to have access to. Is there anything in the native functions that can be of use to me?

 

I'm aware of GET_PED_DESIRED_MOVE_BLEND_RATIO but I can't achieve everything with it, so I'm wondering if there is anything else

 

Thanks in advance

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.