PedClient

setPedBlocksPathingWhenDead

SET_PED_BLOCKS_PATHING_WHEN_DEAD0x576594E8D64375E2

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

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

Usage

JavaScript
setPedBlocksPathingWhenDead(ped, toggle);
Lua
setPedBlocksPathingWhenDead(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_BLOCKS_PATHING_WHEN_DEAD(Ped ped, BOOL toggle)
Hash
0x576594E8D64375E2

Open in the interactive natives reference