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

Player::reviveInjured

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

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