public function removeFromWaitScreen(player $player) { if ($player->isWaiting()) { //clear the player name from the waiting screen $output = "÷\t" . chr(call_method('getPid', $player)) . toEndian(INT2WORD(call_method('getWaitTime', $player))) . ""; foreach ($this->players as $othPlayer) { if (call_method('isOffline', $othPlayer)) { continue; } call_method('write', $this, call_method('getSocketId', $othPlayer), $output); } } }