PedClient

setPedCanBeDraggedOut

SET_PED_CAN_BE_DRAGGED_OUT0xC1670E958EEE24E5

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_PED_CAN_BE_DRAGGED_OUT(Ped ped, BOOL toggle)
Hash
0xC1670E958EEE24E5

Open in the interactive natives reference