> ## 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

> Borra el Windows console screen buffer actual, oculta la console window y separa el proceso de la console con console detachment. Si no existe ninguna console window, la llamada vuelve sin hacer nada.

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

  ## Alias

  * `consoledestroy`

  ## Ejemplo

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

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