Volt

rconsolewarn

Prints a warning message to the console.

Syntax

rconsolewarn(text: string) -> void

Parameters

ParameterTypeDescription
textstringThe warning message

Returns

This function does not return a value.

Description

rconsolewarn prints a warning-level message to the console, typically displayed in yellow or with a warning prefix.

Example

rconsoleshow()

rconsolewarn("Config file not found, using defaults")
rconsolewarn("Low memory detected")

On this page