Player::isDeadOrDying

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

player.isDeadOrDying(p1);

Required Arguments

  • p1: Boolean

Return value

  • Boolean

Example

// todo

See also