Перейти к содержанию

Player::getSourceOfDeath

Материал из RAGE MP Wiki Archive
Версия от 23:44, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">player.getSourceOfDeath();</syntaxhighlight>

Required Arguments

Return value

  • Entity handle or object

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also