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

GetPlayerHealth

Материал из RAGE MP Wiki Archive
Версия от 21:49, 22 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

This function will tell you, how much health has the player.

Syntax

<syntaxhighlight lang="C#" >int NAPI.Player.GetPlayerHealth(Player player);</syntaxhighlight>

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in int type.

Usage example(s)

Example Description <syntaxhighlight lang="C#" >NAPI.Player.GetPlayerHealth(player);</syntaxhighlight>