Jump to content

SET_ENABLE_BOUND_ANKLES


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

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).

Link to comment
Share on other sites

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.

Link to comment
Share on other sites



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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Red Dead Redemption 2 Native Database by www.mod-rdr.com, includes contributions by gudmunduro and alloc8or.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...