IsPlayerDead
Jump to navigation
Jump to search
Description
This function returns a boolean value (true or false) depending on whether the specified player is dead or not.
Syntax
bool IsPlayerDead ( player )
Required Arguments
- player: A player object referencing the specified player
Example
player = GetRandomPlayer ( 1 ) if ( IsPlayerDead ( player ) ) serverChat ( GetPlayerName ( player ) , " has bitten the dust." ) end