# QQ-SPAWNSELECTOR

<figure><img src="/files/gt7ODU7A3qR05vSNo56m" alt=""><figcaption><p><mark style="color:red;"><strong>Ingame Picture</strong></mark></p></figcaption></figure>

<mark style="color:blue;">**Config.lua**</mark>

```lua
Config.DeadQuit = 'You Were Dead'        --For Changing The Title Of Dead Screen.
Config.Spawnlast = 'You can only spawn in Last Location'  --For Dead Screen Subtitle.  
Config.DeadNotify = 'You Were Dead, You can only spawn in Last Location' --- Notify on Dead Screen.

Config.Hud = {
    Enable = function()
        ExecuteCommand('hideUi') --Enabling Hud with Command or Event.
    end,
    Disable = function()
        ExecuteCommand('hideUi') --Disabling Hud with Command or Event.
    end
}

Config.TimeChange = true --For Client SpawnUi Time Change Disable mean realtime on server.
Config.WeatherChange = true --For Client SpawnUi Weather Change Disable mean real weather on server.

Config.Weather = 'sunny' -- weather type -- ONLY IF  Config.WeatherChange TRUE
Config.Time = {hour = 02, minutes = 0} -- ONLY IF  Config.TimeChange TRUE

Config.OnDeadOnlyLastPosition = true -- When the player is dead, should he be able to be reborn only in the previous location or can he be reborn in any location

Config.Spawns = {
    [1] = {
        camCoords = vector3(-649.23, -1188.48, 66.57),
        camHead = 120.43,
        camx = -20.0,
        spawnCoords = vector4(-688.18, -1243.43, 43.13, 90.11),           
        label = "Blackwater",
        address = "West Elizabeth",
    },
    [2] = {
        camCoords = vector3(-249.75, 808.72, 122.34),
        camHead = 111.83,
        camx = -20.0,
        spawnCoords = vector4(-182.14, 627.42, 114.09, 63.63),
        label = "Valentine",
        address = "New Hannover",
    },
    [3] = {
        camCoords = vector3(-1785.29, -417.53, 162.88),
        camHead = 65.42,
        camx = -20.0,
        spawnCoords = vector4(-1730.45, -416.1, 154.1, 52.73),
        label = "Strawberry",
        address = "West Elizabeth",
    },
    [4] = {
        camCoords = vector3(1336.22, -1302.83, 77.57),
        camHead = 246.18,
        camx = -10.0,
        spawnCoords = vector4(1234.01, -1296.75, 76.9, 310.72),
        label = "Rhodes",
        address = "Lemoyne",
    },
    [5] = {
        camCoords = vector3(2706.86, -1411.17, 52.84),
        camHead = 40.0,
        camx = -20.0,
        spawnCoords = vector4(2722.5, -1446.75, 46.23, 22.75),
        label = "Saint Denis",
        address = "Lemoyne",
    },
}
```

To Translate The Spawn Button  Go to html/sanane.css/line 36

```css
.send .rotate .move .part::before, .send .rotate .move .part::after {
  content: "SPAWN";    --Change This For Spawn Title
  width: 100%;
  height: 109%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.2823529412);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--hue), 100%, 20%);
  font-size: 2rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
}
```

To Translate The Last Position Button  Go to html/ui.html/line 63<br>

```html
<div class="last-location-text">LAST POSITION</div>    --Change LAST POSITION
```


---

# Agent Instructions: 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://quantumquakestudios.gitbook.io/main/vorpcore/qq-spawnselector.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.
