Skip to main content

Player::getSourceOfDeath

Returns the Entity (Ped, Vehicle, or ?Object?) that killed the 'ped'

Is best to check if the Ped is dead before asking for its killer.

Syntax

```js player.getSourceOfDeath(); ```

Required Arguments

Return value

  • Entity handle or object

Example

```js // todo ```

See also