Skip to main content

GetPlayerHealth

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

Syntax

```csharp int NAPI.Player.GetPlayerHealth(Player player); ```

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in int type.

Usage example(s)

Example Description

```csharp NAPI.Player.GetPlayerHealth(player); ```