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

Entity::getMaxHealth

Материал из RAGE MP Wiki Archive
Версия от 17:52, 1 мая 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Return an integer value of entity's maximum health.

Example:
- Player = 200
- Ped = 150

Syntax

<syntaxhighlight lang="javascript">entity.getMaxHealth();</syntaxhighlight>

Required Arguments

Return value

  • int

Example

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

See also