blockPedFromGeneratingDeadBodyEventsWhenDead
BLOCK_PED_FROM_GENERATING_DEAD_BODY_EVENTS_WHEN_DEAD0xE43A13C9E4CCCBCFThe GTA V native BLOCK_PED_FROM_GENERATING_DEAD_BODY_EVENTS_WHEN_DEAD of the PED namespace, as LS:MP client scripts call it: the global function blockPedFromGeneratingDeadBodyEventsWhenDead, in JavaScript and in Lua.
blockPedFromGeneratingDeadBodyEventsWhenDead(ped: Ped, toggle: boolean): voidblockPedFromGeneratingDeadBodyEventsWhenDead(ped: Ped, toggle: boolean)Usage
JavaScript
blockPedFromGeneratingDeadBodyEventsWhenDead(ped, toggle);Lua
blockPedFromGeneratingDeadBodyEventsWhenDead(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 BLOCK_PED_FROM_GENERATING_DEAD_BODY_EVENTS_WHEN_DEAD(Ped ped, BOOL toggle)- Hash
0xE43A13C9E4CCCBCF- Formerly
_BLOCK_PED_DEAD_BODY_SHOCKING_EVENTS