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

Player::health

Материал из RAGE MP Wiki Archive
Версия от 16:58, 17 мая 2019; imported>RoboN1X (category)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This property using for getting or setting player health.

Setter

  • number health value (0 to 100)

Getter

  • number health value

Example

<source lang="javascript"> let playerHealth = player.health player.health = 100 </source>

See Also