setPedBlocksPathingWhenDead
SET_PED_BLOCKS_PATHING_WHEN_DEAD0x576594E8D64375E2The 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.
setPedBlocksPathingWhenDead(ped: Ped, toggle: boolean): voidsetPedBlocksPathingWhenDead(ped: Ped, toggle: boolean)Usage
JavaScript
setPedBlocksPathingWhenDead(ped, toggle);Lua
setPedBlocksPathingWhenDead(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_BLOCKS_PATHING_WHEN_DEAD(Ped ped, BOOL toggle)- Hash
0x576594E8D64375E2