IsPlayerDead: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
<syntaxhighlight lang="lua">player = getRandomPlayer ( )
<syntaxhighlight lang="lua">player = getRandomPlayer ( )
if ( isPlayerDead ( player ) )
if ( isPlayerDead ( player ) )
   outputChatBox ( getPlayerName ( player ) , " has bitten the dust." )
   outputChatBox ( getPlayerName ( player ) .. " has bitten the dust." )
end</syntaxhighlight>
end</syntaxhighlight>


==See Also==
==See Also==
{{Player functions}}
{{Player functions}}

Revision as of 10:04, 14 August 2006