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

Player::isDeadOrDying

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

Seems to consistently return true if the ped is dead.

p1 is always passed 1 in the scripts.

I suggest to remove 'OR_DYING' part, because it does not detect dying phase.

That's what the devs call it, cry about it.

lol

Syntax

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

Required Arguments

  • p1: Boolean

Return value

  • Boolean

Example

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

See also