rconsolewarn
Writes a warning line.
Syntax
rconsolewarn(text: string) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | The text value to process. |
Returns
| Type | Description |
|---|---|
nil | This 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.