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.

Native Details

  • NameSET_ENABLE_BOUND_ANKLES
  • NamespacePED
  • Native Hash0xC52E0F855C58FC2E
  • Typevoid
  • First seen version1207

Native Parameters

DESCRIPTION

There is no description yet for this native, why not edit it and add one?


User Feedback

Recommended Comments

HughJanus

Recognized Creator

This method doesnt seem to do anything. I have iterated through all the peds in my characters surroundings and set that to true - nothing noticeable changed.

Lambda

Recognized Creator

Have you tested with enabling handcuffs on the ped first? In GTA V that is a must for the ankles to work.

HughJanus

Recognized Creator
On 3/3/2020 at 8:35 PM, Lambda said:

Have you tested with enabling handcuffs on the ped first? In GTA V that is a must for the ankles to work.

 

Unfortunately it didnt work with handcuffs enabled.

I tried it like this:

if (AI::GET_IS_TASK_ACTIVE(peds[i], 399)) //is ped hogtied?
{
	AI::CLEAR_PED_TASKS_IMMEDIATELY(peds[i], false, false); //clear all tasks (make hogtie disappear)
	PED::SET_ENABLE_HANDCUFFS(peds[i], true, false); //bind hands
	PED::SET_ENABLE_BOUND_ANKLES(peds[i], true); //bind ankles
}

But only the hands were bound (but when the NPC attacks me, the hands still glitch into Arthurs face for a split second - so they can still fight handcuffed).

WesternSpace

Recognized Creator
On 7/17/2020 at 3:05 PM, HughJanus said:

 

Unfortunately it didnt work with handcuffs enabled.

I tried it like this:

if (AI::GET_IS_TASK_ACTIVE(peds[i], 399)) //is ped hogtied?
{
	AI::CLEAR_PED_TASKS_IMMEDIATELY(peds[i], false, false); //clear all tasks (make hogtie disappear)
	PED::SET_ENABLE_HANDCUFFS(peds[i], true, false); //bind hands
	PED::SET_ENABLE_BOUND_ANKLES(peds[i], true); //bind ankles
}

But only the hands were bound (but when the NPC attacks me, the hands still glitch into Arthurs face for a split second - so they can still fight handcuffed).

This is very late, but I found what SET_ENABLE_BOUND_ANKLES actually does. When the ped falls, their legs spread out. When SET_ENABLE_BOUND_ANKLES is enabled, the ped's legs don't spread out, they stay together.

Join the conversation

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

Guest
Add a comment...

Recently Browsing 0

  • No registered users viewing this page.

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.