IsPlayerDead: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function will tell you if the player is dead or not. ==Syntax== <syntaxhighlight lang="C#" >bool NAPI.Player.IsPlayerDead(Client player);</syntaxhighlight> '''Required...")
 
No edit summary
 
Line 2: Line 2:


==Syntax==
==Syntax==
<syntaxhighlight lang="C#" >bool NAPI.Player.IsPlayerDead(Client player);</syntaxhighlight>
<syntaxhighlight lang="C#" >bool NAPI.Player.IsPlayerDead(Player player);</syntaxhighlight>


'''Required Arguments'''
'''Required Arguments'''
*'''player:''' parameter input should be in '''Client''' type.
*'''player:''' parameter input should be in '''Player''' type.


'''NOTE:''' This function returns data in '''bool''' type.
'''NOTE:''' This function returns data in '''bool''' type.

Latest revision as of 13:31, 23 December 2022

This function will tell you if the player is dead or not.

Syntax

bool NAPI.Player.IsPlayerDead(Player player);

Required Arguments

  • player: parameter input should be in Player type.

NOTE: This function returns data in bool type.

Usage example(s)

Example Description

NAPI.Player.IsPlayerDead(player);