setEnableBoundAnkles
SET_ENABLE_BOUND_ANKLES0xC52E0F855C58FC2EThe 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.
setEnableBoundAnkles(ped: Ped, toggle: boolean): voidsetEnableBoundAnkles(ped: Ped, toggle: boolean)Usage
JavaScript
setEnableBoundAnkles(ped, toggle);Lua
setEnableBoundAnkles(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
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