> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# rconsoledestroy

> Limpa o Windows console screen buffer atual, oculta a console window e desanexa o processo da console com console detachment. Se nenhuma console window existir, a chamada retorna sem fazer nada.

<div className="real-function-page">
  ```lua theme={null}
  rconsoledestroy()
  ```

  ## Aliases

  * `consoledestroy`

  ## Exemplo

  Clear and hide the current console, then detach from it.

  ```lua theme={null}
  rconsolecreate()
  rconsoleprint("Console closing")
  rconsoledestroy()
  ```
</div>
