rconsoleinfo

Prints an info message to the console.

Syntax

rconsoleinfo(data: any, async?: boolean) -> ()

Parameters

ParameterTypeDescription
dataanyValue to format after the [INFO] prefix
asyncboolean?Yield while writing on the console task (default: true)

Returns

This function does not return a value.

Description

rconsoleinfo prints an info-level message to the console, typically with a distinct color or prefix to indicate it's informational.

Example

rconsoleshow()

rconsoleinfo("Script loaded successfully")
rconsoleinfo("Found 5 players in game")