Yuari
Documentation
Docs/Console/rconsolewarn

rconsolewarn

Writes a warning line.

Syntax

rconsolewarn(text: string) -> nil

Parameters

ParameterTypeDescription
textstringThe text value to process.

Returns

TypeDescription
nilThis function does not return a value.

Description

rconsolewarn is part of the Console library. Console functions open and control a separate console window attached to the executor process; its state is independent of the game UI.

The operation is performed immediately using the arguments supplied at the call site.

The aliases consolewarn(text) resolve to the same implementation.

Example

rconsolewarn("low health")
consolewarn("alias")

Notes

  • Aliases: consolewarn(text).
  • Console windows stay open until explicitly destroyed.