rconsoleprint Synchronous
consoleprintconsolewriterconsolewrite
Write a plain message to the script console. The supplied value is converted to text. Use it for ordinary output and prompts where a severity label is unnecessary.
Luau
rconsoleprint(data: any, async: boolean?, escape: boolean?) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
data | any | Value to stringify and display. |
async | boolean? | Optional compatibility flag. It is validated as a boolean but does not schedule asynchronous output. |
escape | boolean? | Optional boolean. false truncates the displayed text at its first zero byte. |
Returns
()This function returns no values.
Example
Luau
rconsoleshow()
rconsoleprint("Select a file to begin.")