you can use GetPlayerFromIdentifier to detect the player is online or not