> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# rconsolewarn

> Writes zero or more values to the current Windows console using the warning text color, then restores the normal console text color. Values are converted to strings and separated with tabs. If no console window exists, the call returns without writing anything.

<div className="real-function-page">
  ```lua theme={null}
  rconsolewarn(...values?: ...any)
  ```

  ## Aliases

  * `consolewarn`

  ## Arguments

  <ParamField path={"...values"} type={"...any"}>
    Optional values. If a console exists, each value is converted to strings and joined with tab characters before writing.
  </ParamField>

  ## Example

  Write values to the current Windows console with the warning console text attribute. Values are tab-separated, no newline or warning prefix is added, and consolewarn is the same function.

  ```lua theme={null}
  rconsolecreate()
  rconsolewarn("Retrying request", 3)
  rconsolewarn("\n")
  ```
</div>
