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

Player::isDeadOrDying

Материал из RAGE MP Wiki Archive

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