TasksClient

setPedPathCanDropFromHeight

SET_PED_PATH_CAN_DROP_FROM_HEIGHT0xE361C5C71C431A4F

The GTA V native SET_PED_PATH_CAN_DROP_FROM_HEIGHT of the TASK namespace, as LS:MP client scripts call it: the global function setPedPathCanDropFromHeight, in JavaScript and in Lua.

SignatureJavaScript
setPedPathCanDropFromHeight(ped: Ped, Toggle: boolean): void
SignatureLua
setPedPathCanDropFromHeight(ped: Ped, Toggle: boolean)

Usage

JavaScript
setPedPathCanDropFromHeight(ped, Toggle);
Lua
setPedPathCanDropFromHeight(ped, Toggle)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
ToggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Tasks TASK
In the game
void SET_PED_PATH_CAN_DROP_FROM_HEIGHT(Ped ped, BOOL Toggle)
Hash
0xE361C5C71C431A4F

Open in the interactive natives reference