IsPedDeadOrDying — FiveM Natives
0x3317DEDB88C95038 · PED · all
Determines if a ped is dead. Contrary to what the name might suggest, it does not always detect when a ped is in the 'dying' phase (transitioning to death). The exception is when checkMeleeDeathFlags is set to true, which then includes peds in the midst of melee takedown moves as being in a dying state, even if the death task has not yet started. `` NativeDB Introduced: v323 ``
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The ped to check. |
| checkMeleeDeathFlags | BOOL | If set to `true`, extends the check to include melee takedown moves as part of the dying phase. |
Returns
BOOL