QB.Spawns = {
["legion"] = { -- Index för tabellen
coords = vector4(195.17, -933.77, 29.7, 144.5), -- Var spelaren spawnar
location = "legion", -- Så vet JavaScript vilken spawn du valt
label = "Legion Square", -- Vad spelaren ser i menyn
},
["policedp"] = {
coords = vector4(428.23, -984.28, 29.76, 3.5),
location = "policedp",
label = "Police Department",
},
["paleto"] = {
coords = vector4(80.35, 6424.12, 31.67, 45.5),
location = "paleto",
label = "Paleto Bay",
},
["motel"] = {
coords = vector4(327.56, -205.08, 53.08, 163.5),
location = "motel",
label = "Motels",
},
Om du vill lägga till fler spawnpunkter behöver du bara lägga till en ny post i konfigurationsfilen:
["new_spawn_name"] = { -- Måste vara unik
coords = vector4(1.1, -1.1, 1.1, 180.0), -- Koordinater där spelaren spawnar
location = "new_spawn_name", -- Måste vara unik
label = "New spawn name", -- Etiketten som visas i valmenyn
},
QB.Spawns = {
["legion"] = { -- Index för tabellen
coords = vector4(195.17, -933.77, 29.7, 144.5), -- Var spelaren spawnar
location = "legion", -- Så vet JavaScript vilken spawn du valt
label = "Legion Square", -- Vad spelaren ser i menyn
},
["policedp"] = {
coords = vector4(428.23, -984.28, 29.76, 3.5),
location = "policedp",
label = "Police Department",
},
["paleto"] = {
coords = vector4(80.35, 6424.12, 31.67, 45.5),
location = "paleto",
label = "Paleto Bay",
},
["motel"] = {
coords = vector4(327.56, -205.08, 53.08, 163.5),
location = "motel",
label = "Motels",
},
["new_spawn_name"] = { -- Måste vara unik
coords = vector4(1.1, -1.1, 1.1, 180.0), -- Koordinater där spelaren spawnar
location = "new_spawn_name", -- Måste vara unik
label = "New spawn name", -- Etiketten som visas i valmenyn
},
}