Player::getSourceOfDeath

From RAGE Multiplayer Wiki

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

player.getSourceOfDeath();

Required Arguments

Return value

  • Entity handle or object

Example

// todo

See also