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