Syntax
rconsoledestroy()Aliases
consoledestroyDescription
Clears the current Windows console screen buffer, hides the console window, and detaches the process from the console from the console. If no console window exists, the call returns without doing anything.
Call it without parameters. The function reads the needed context from the current runtime state.
It does not return data. Treat the call as an action and handle errors around the call site when needed.
Example
Clear and hide the current console, then detach from it.
rconsolecreate()
rconsoleprint("Console closing")
rconsoledestroy()