Skip to main content

Player::getCauseOfDeath

Returns the hash of the weapon/model/object that killed the player.

Edited by: Enumerator

Syntax

```js player.getCauseOfDeath(); ```

Required Arguments

Return value

  • Model hash or name

Example

```js // todo ```

See also