GetPlayerHealth

From RAGE Multiplayer Wiki
Revision as of 21:49, 22 December 2022 by Xabi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Syntax

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

NAPI.Player.GetPlayerHealth(player);