PlayerInGame
From ZDoom Wiki
bool PlayerInGame (int playernumber)
Usage
Returns true if the player [0..7] is in the game and false if not.
Examples
This command does not seem to serve any sort of general purpose, as 99% of levels do not rely on specific players being in the game. If there were some sort of heavily scripted scenario that relied on certain players, it could be useful as a check to make sure nothing goes wrong with the script. However, these cases can be handled by DISCONNECT type scripts. If it is non-critical, this command could simplify the script slightly.
See PlayerNumber and PlayerCount for general player-counting commands.

