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

Player::reviveInjured

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

It will revive/cure the injured player. The condition is ped must not be dead.

Upon setting and converting the health int, found, if health falls below 5, the ped will lay on the ground in pain(Maximum default health is 100).

This function is well suited there.

Syntax

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

Required Arguments

Return value

  • Undefined

Example

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

See also