rconsolewarn
Prints a warning message to the console.
Syntax
rconsolewarn(text: string) -> voidParameters
| Parameter | Type | Description |
|---|---|---|
text | string | The 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")Related Functions
rconsoleprint- Print plain textrconsoleinfo- Print inforconsoleerr- Print error