Skip to main content

Player::isDeadOrDying

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