> ## 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

> warning console text attribute を使い、現在の Windows console へ stdout 経由で 0 個以上の値を書き込みます。console window が存在しない場合、この呼び出しは何も変換せず、何も書き込まずに戻ります。console が存在する場合、各 argument は Lua string conversion で変換され、tab 文字で結合され、runtime value 経由で書き込まれます。Lua string conversion が error を発生させた場合、rconsolewarn はそれを捕捉しません。この function は書き込み前に console text attribute を FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_INTENSITY に設定し、その後 default console text color に設定します。newline や warning prefix は追加せず、console の作成や表示も行わず、Luau warn や Roblox Output も呼び出しません。consolewarn は同じ function の alias です。

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

  ## エイリアス

  * `consolewarn`

  ## 引数

  <ParamField path={"...values"} type={"...any"}>
    任意の値。console が存在する場合、各 value は Lua string conversion で変換され、書き込み前に tab 文字で結合されます。
  </ParamField>

  ## 例

  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>
