setEnableHandcuffs
SET_ENABLE_HANDCUFFS0xDF1AF8B5D56542FAThe GTA V native SET_ENABLE_HANDCUFFS of the PED namespace, as LS:MP client scripts call it: the global function setEnableHandcuffs, in JavaScript and in Lua.
setEnableHandcuffs(ped: Ped, toggle: boolean): voidsetEnableHandcuffs(ped: Ped, toggle: boolean)Usage
JavaScript
setEnableHandcuffs(ped, toggle);Lua
setEnableHandcuffs(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.
ped can not pull out a weapon when true
Reference
- Namespace
- Ped PED
- In the game
void SET_ENABLE_HANDCUFFS(Ped ped, BOOL toggle)- Hash
0xDF1AF8B5D56542FA