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

> Ghi khong hoac nhieu gia tri vao Windows console hien tai qua stdout voi warning console text attribute. Neu khong co console window, loi goi quay lai ma khong chuyen doi hoac ghi gi. Khi co console, moi argument duoc chuyen doi bang Lua string conversion, noi bang ky tu tab va ghi qua runtime value. Neu Lua string conversion tao error, rconsolewarn khong bat error do. Function dat console text attribute thanh FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_INTENSITY truoc khi ghi, sau do dat thanh default console text color. Function khong them newline, khong them warning prefix, khong tao hoac hien console, va khong goi Luau warn hay Roblox Output. consolewarn la alias cho cung function.

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

  ## Alias

  * `consolewarn`

  ## Đối số

  <ParamField path={"...values"} type={"...any"}>
    Cac gia tri tuy chon. Neu co console, moi value duoc chuyen doi bang Lua string conversion va noi bang ky tu tab truoc khi ghi.
  </ParamField>

  ## Ví dụ

  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>
