Volt

rconsolehide

Hides and destroys the console window.

Syntax

rconsolehide() -> void

Aliases

  • rconsoledestroy
  • consoledestroy

Returns

This function does not return a value.

Description

rconsolehide hides the console window and destroys it. All console output is cleared.

Example

-- Show console and print something
rconsoleshow()
rconsoleprint("This console will close in 5 seconds...\n")

-- Wait and then hide
task.wait(5)
rconsolehide()

Notes

  • All console content is lost when hidden
  • A new console can be created after hiding

On this page