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​

player.getSourceOfDeath();

Return value​

  • Entity handle or object

Example​

// todo