rconsoleprint
Prints text to the console window.
Syntax
rconsoleprint(text: string) -> voidAliases
consoleprint
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | The 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
\nfor newlines - Does not automatically add newlines
Related Functions
rconsoleinfo- Print info messagerconsolewarn- Print warningrconsoleerr- Print error