Files
red-valley/resources/[framework]/[base]/[auth]/17mov_CharacterSystem/configs/Location.lua

39 lines
1.5 KiB
Lua
Raw Normal View History

2026-03-29 21:41:17 +03:00
Location = {}
Location.Enable = false
Location.EnableForNewCharacters = true
Location.EnableForExistingCharacters = true
-- Supported only on QBCore
Location.EnableSpawningInHouse = true -- Let player spawn into their houses if they have any
Location.EnableSpawningInApartment = true -- Let player spawn into their apartments if they have any
Location.SelectApartmentAtFirstSpawn = true -- Let players choose a spawn apartment from available apartments
Location.DefaultSpawnLocation = vector3(-1037.58, -2737.48, 20.17) -- Used if Location.Enable is false, this is coordinates where player spawns
Location.InvalidLastLocationSpawnLocation = vector3(200.17, -936.96, 30.69) -- Position where character will spawn in case when your framework incorrectly saves the last position (SEE: https://github.com/esx-framework/esx_core/issues/1421)
Location.Spawns = {
{
name = "legion",
coords = vector4(195.17, -933.77, 29.7, 144.5),
label = "Legion Square",
type = "location",
},
{
name = "policedp",
coords = vector4(428.23, -984.28, 29.76, 3.5),
label = "Police Department",
type = "location",
},
{
name = "paleto",
coords = vector4(80.35, 6424.12, 31.67, 45.5),
label = "Paleto Bay",
type = "location",
},
{
name = "motel",
coords = vector4(327.56, -205.08, 53.08, 163.5),
label = "Motels",
type = "location",
},
}