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

# queue_on_teleport

> Queues a source string to run after a later teleport initialization. The function returns no values.

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

  ## Alias

  * `queueonteleport`
  * `queue_on_tp`
  * `queueontp`

  ## Đối số

  <ParamField path={"source"} type={"string"} required>
    Source string to queue for a later teleport initialization.
  </ParamField>

  ## Ví dụ

  Store a source string so it can run during a later teleport initialization.

  ```lua theme={null}
  queue_on_teleport("print('queued after teleport')")
  ```
</div>
