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

# rconsoleinput

> Melakukan yield saat membaca satu line dari stdin dengan console input setelah fieldsihkan state console input dan mengabaikan input hingga newline berikutnya. string yang dikembalikan didorong dengan string return dan tidak menyertakan newline penutup. Jika tidak ada console window, panggilan kembali tanpa values.

<div className="real-function-page">
  ```lua theme={null}
  rconsoleinput(): string
  ```

  ## Alias

  * `consoleinput`

  ## Return

  <ResponseField name={"input"} type={"string"}>
    Baris teks dibaca dari konsol.
  </ResponseField>

  ## Contoh

  Read one submitted line from the current Windows console.

  ```lua theme={null}
  rconsolecreate()
  rconsoleprint("Name: ")
  local name = rconsoleinput()
  rconsoleprint("Hello, ", name, "
  ")
  ```
</div>
