IsPlayerDead: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 14: | Line 14: | ||
outputChatBox ( GetPlayerName ( player ) , " has bitten the dust." ) | outputChatBox ( GetPlayerName ( player ) , " has bitten the dust." ) | ||
end</syntaxhighlight> | end</syntaxhighlight> | ||
==See Also== | |||
{{Player functions}} |
Revision as of 20:03, 20 May 2006
Description
This function returns a boolean value (true or false) depending on whether the specified player is dead or not.
Syntax
bool IsPlayerDead ( player player )
Required Arguments
- player: A player object referencing the specified player
Example
player = GetRandomPlayer ( ) if ( IsPlayerDead ( player ) ) outputChatBox ( GetPlayerName ( player ) , " has bitten the dust." ) end
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState