GetPlayerHealth: Difference between revisions
(Created page with "This function will tell you, how much health has the player. ==Syntax== <syntaxhighlight lang="C#" >int NAPI.Player.GetPlayerHealth(Client player);</syntaxhighlight> '''Requ...") |
No edit summary |
||
| Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="C#" >int NAPI.Player.GetPlayerHealth( | <syntaxhighlight lang="C#" >int NAPI.Player.GetPlayerHealth(Player player);</syntaxhighlight> | ||
'''Required Arguments''' | '''Required Arguments''' | ||
*'''player:''' parameter input should be in ''' | *'''player:''' parameter input should be in '''Player''' type. | ||
'''NOTE:''' This function returns data in '''int''' type. | '''NOTE:''' This function returns data in '''int''' type. | ||
Latest revision as of 21:49, 22 December 2022
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);