PlayerIsConnected

bool PlayerIsConnected(int player)

Description

Returns true if the specified player is connected to the server.

It works by calling PlayerInGame and PlayerIsSpectator. If both return false, the player is not connected.