PedClient

setEnableBoundAnkles

SET_ENABLE_BOUND_ANKLES0xC52E0F855C58FC2E

The GTA V native SET_ENABLE_BOUND_ANKLES of the PED namespace, as LS:MP client scripts call it: the global function setEnableBoundAnkles, in JavaScript and in Lua.

SignatureJavaScript
setEnableBoundAnkles(ped: Ped, toggle: boolean): void
SignatureLua
setEnableBoundAnkles(ped: Ped, toggle: boolean)

Usage

JavaScript
setEnableBoundAnkles(ped, toggle);
Lua
setEnableBoundAnkles(ped, toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Used with setEnableHandcuffs in decompiled scripts. From my observations, I have noticed that while being ragdolled you are not able to get up but you can still run. Your legs can also bend.

Reference

Namespace
Ped PED
In the game
void SET_ENABLE_BOUND_ANKLES(Ped ped, BOOL toggle)
Hash
0xC52E0F855C58FC2E

Open in the interactive natives reference