cfg_locations.lua
return {
--[[ Car Category ]]
["San Andreas Ave"] = {
Category = "car", -- Type of vehicles allowed in this garage (car, air, sea, other)
PointDistance = 25.0, -- The radius within which markers, peds, and other game elements related to the garage are displayed
Coords = vec4(213.9938, -808.5781, 31.0149, 158.8521), -- Location of the garage interaction point
ParkOutPoints = {
PreventConflict = true, -- Ensures a vehicle only spawns if no other vehicle is blocking the area
PreventRadius = 3.0, -- Radius within which the game checks for existing vehicles before spawning
-- List of potential spawn positions for vehicles being parked out --? (loops from top to bottom)
Positions = {
vec4(228.9928, -807.5270, 30.5095, 160.9059),
vec4(230.9503, -801.3480, 30.5365, 160.9282),
vec4(232.7422, -795.8262, 30.5570, 158.9082),
},
},
GarageMenu = {
ParkList = {
SearchRadius = 30, -- Distance in which parked vehicles are detected for storage
},
},
Blip = {
Enabled = true, -- If true, displays a map blip for this garage location
Name = "Garage", -- Name displayed on the map
Sprite = 357, -- Blip icon type
Color = 0, -- Blip color (adjustable based on FiveM blip colors)
Scale = 0.6, -- Size of the blip
},
Indicator = {
Ped = {
Enabled = true, -- If true, spawns a ped (NPC) at the location
Model = `CSB_TrafficWarden`, -- Ped model type --? Reference: https://docs.fivem.net/docs/game-references/ped-models/
Scenario = "WORLD_HUMAN_CLIPBOARD", -- Animation scenario for the ped --? Reference: https://github.com/DioneB/gtav-scenarios
},
Marker = {
Enabled = false, -- If true, displays a marker at the garage location
Type = 20, -- Marker type --? Reference: https://docs.fivem.net/docs/game-references/markers/
Size = vec3(0.7, 0.7, 0.7), -- Size of the marker
Color = { 65, 133, 235, 120 }, -- RGBA color of the marker
BobUpAndDown = false, -- If true, marker moves up and down
FaceCamera = false, -- If true, marker faces the player's camera
Rotate = true, -- If true, marker rotates
},
},
Interaction = {
HelpText = {
Enabled = false, -- If true, displays floating help text near the interaction point
Distance = 2.5, -- Distance within which help text appears and is interactable
},
FloatingText = {
Enabled = true, -- If true, displays floating text above the garage NPC
Distance = 2.5, -- Distance within which floating text is visible and interactable
},
Target = { -- Uses ox_target by default --? (modifiable in config/cfg_functions.lua)
Enabled = false, -- If true, enables targeting system
BoxZoneSize = vec3(4, 4, 4), -- Size of the target zone
DrawSprite = true, -- If true, displays a sprite for the target zone
Distance = 2.5, -- Interaction distance
},
},
},
--[[ Air Category ]]
["Panorama Dr"] = {
Category = "air",
PointDistance = 35.0,
Coords = vec4(1758.6783, 3297.6763, 41.1479, 149.6509),
ParkOutPoints = {
PreventConflict = true,
PreventRadius = 7.0,
Positions = {
vec4(1706.4243, 3251.2292, 41.0065, 104.5112),
},
},
GarageMenu = {
ParkList = {
SearchRadius = 35,
},
},
Blip = {
Enabled = true,
Name = "Hangar",
Sprite = 359,
Color = 0,
Scale = 0.6,
},
Indicator = {
Ped = {
Enabled = true,
Model = `CSB_TrafficWarden`,
Scenario = "WORLD_HUMAN_CLIPBOARD",
},
Marker = {
Enabled = false,
Type = 20,
Size = vec3(0.7, 0.7, 0.7),
Color = { 65, 133, 235, 120 },
BobUpAndDown = false,
FaceCamera = false,
Rotate = true,
},
},
Interaction = {
HelpText = {
Enabled = false,
Distance = 2.5,
},
FloatingText = {
Enabled = true,
Distance = 2.5,
},
Target = {
Enabled = false,
BoxZoneSize = vec3(4, 4, 4),
DrawSprite = true,
Distance = 2.5,
},
},
},
--[[ Sea Category ]]
["North Calafia Way"] = {
Category = "sea",
PointDistance = 35.0,
Coords = vec4(1302.6074, 4228.7163, 33.9087, 356.0655),
ParkOutPoints = {
PreventConflict = true,
PreventRadius = 5.0,
Positions = {
vec4(1317.6821, 4217.8428, 29.3766 + 1, 250.2760),
},
},
GarageMenu = {
ParkList = {
SearchRadius = 30,
},
},
Blip = {
Enabled = true,
Name = "Dock",
Sprite = 356,
Color = 0,
Scale = 0.6,
},
Indicator = {
Ped = {
Enabled = true,
Model = `CSB_TrafficWarden`,
Scenario = "WORLD_HUMAN_CLIPBOARD",
},
Marker = {
Enabled = false,
Type = 20,
Size = vec3(0.7, 0.7, 0.7),
Color = { 65, 133, 235, 120 },
BobUpAndDown = false,
FaceCamera = false,
Rotate = true,
},
},
Interaction = {
HelpText = {
Enabled = false,
Distance = 2.5,
},
FloatingText = {
Enabled = true,
Distance = 2.5,
},
Target = {
Enabled = false,
BoxZoneSize = vec3(4, 4, 4),
DrawSprite = true,
Distance = 2.5,
},
},
},
}
Last updated