> For the complete documentation index, see [llms.txt](https://viceworks.gitbook.io/vice-works-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viceworks.gitbook.io/vice-works-docs/resources/spawn.md).

# Spawn

<figure><img src="/files/HOw5m6emKVNWXIv7U5Qo" alt=""><figcaption></figcaption></figure>

## Installation

After installing the resource on your server, it may be useful to check the shared folder first.

#### shared/sh\_config.lua

It is recommended to carefully review the configuration file, as it is self-explanatory. Within this file, you can easily adjust various settings such as coordinates, theme, spawn location, and more to suit your needs.

{% hint style="info" %}
The `Config.locations` table calculates the distance between each added location and the bus stop based on `Config.speed`, sorting the locations accordingly. The last location is always at the top.
{% endhint %}

#### shared/sh\_locale.lua

In this resource file, there is not much text only on the ui side, so this file is very minimal.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viceworks.gitbook.io/vice-works-docs/resources/spawn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
