Potassium API
  • Environment
    • Cache
    • Closures
    • Console
    • Crypt
    • Debug
    • Drawing
    • File System
    • Input
    • Instance
    • Metatable
    • Miscellaneous
    • Scripts
    • Web Sockets
    • Actor
Powered by GitBook
On this page
  • rconsoleclear
  • rconsolecreate
  • rconsoledestroy
  • rconsoleinput
  • rconsoleprint
  • rconsolewarn
  • rconsoleerror
  • rconsolesettitle
  1. Environment

Console

rconsoleclear

<nil> rconsoleclear()

Clears the output of the console window.


rconsolecreate

<nil> rconsolecreate()

Opens the console window. Text previously output to the console will not be cleared.

⚠️ This function is disabled.


rconsoledestroy

<nil> rconsoledestroy()

Clears the output of the console window.


rconsoleinput

<string> rconsoleinput()

Waits for the user to input text into the console window. Returns the result.

⚠️ This function is disabled.


rconsoleprint

<nil> rconsoleprint(<string> text)

Prints text to the console window. Does not clear existing text or create a new line.


rconsolewarn

<nil> rconsolewarn(<string> text)

Prints text as a warning to the console window. Does not clear existing text or create a new line.


rconsoleerror

<nil> rconsoleerror(<string> text)

Prints text as an error to the console window. Does not clear existing text or create a new line.


rconsolesettitle

<nil> rconsolesettitle(<string> title)

Sets the title of the console window to title.

⚠️ This function is disabled.


PreviousClosuresNextCrypt

Last updated 2 months ago