Volt

rconsoleprint

Prints text to the console window.

Syntax

rconsoleprint(text: string) -> void

Aliases

  • consoleprint

Parameters

ParameterTypeDescription
textstringThe text to print

Returns

This function does not return a value.

Description

rconsoleprint outputs text to the console window. Unlike the other console print functions, this prints plain text without any formatting or prefix.

Example

rconsoleshow()

-- Print text with newlines
rconsoleprint("Hello, World!\n")
rconsoleprint("Line 2\n")

-- Print without newline (continues on same line)
rconsoleprint("Part 1... ")
rconsoleprint("Part 2\n")

Notes

  • Use \n for newlines
  • Does not automatically add newlines

On this page