PedClient

setEnableHandcuffs

SET_ENABLE_HANDCUFFS0xDF1AF8B5D56542FA

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

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

Usage

JavaScript
setEnableHandcuffs(ped, toggle);
Lua
setEnableHandcuffs(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.

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

Open in the interactive natives reference