2 - Configuration
At the top of the config, you can set your license key from https://license.simpledevelopments.org/ Config.LicenseKey = 'LICENSE-KEY' Text settings for interactions Config.Text = { store = "Store Vehicle", retrieve = "Open Garage", keybind = "E" } Enable/Disable using SimpleBanking to charge players when storing vehicles. Config.Payments = { Enabled = true, -- Set to false to disable storage fees. ResourceName = "SimpleBanking", StoreCost = 150 -- The amount to charge for storing a vehicle. } Here is an example of how to configure garages around the map. Config.Garages = { ['vespucci_garage'] = { -- Unique key for the garage. deployPoint = { -- The point where players open the garage menu. name = "Downtown Parking lot", coords = vector3(-281.2758, -888.8047, 31.3180), -- Garage Menu coords. marker = { enabled = true, -- Enable / Disable the marker type = 20, -- Marker type: scale = 1.0, -- How big the marker will be. color = { -- What color is the marker (RGB) r = 255, -- Red g = 165, -- Green b = 0, -- Blue a = 150 -- Transparency }, coords = vector3(-281.2758, -888.8047, 30.50) -- Coords where the marker will show }, blip = { enabled = true, sprite = 357, color = 5, scale = 0.8, display = 4, name = "Downtown Parking - Retrieve" } }, returnPoint = { -- The point where players return vehicles. name = "Downtown Parking lot Return", coords = vec3(-300.2554, -884.1843, 30.5826), storeCost = 250, marker = { enabled = true, type = 20, scale = 1.0, color = { r = 255, g = 165, b = 0, a = 150 }, coords = vector3(-300.2554, -884.1843, 30.00) }, blip = { enabled = true, sprite = 289, color = 2, scale = 0.7, display = 4, name = "Downtown Parking - Store" } }, -- The exact location and heading where vehicles will spawn. spawnPoint = { coords = vec3(-316.7349, -895.7088, 31.0739), heading = 346.6873 } }, }
At the top of the config, you can set your license key from https://license.simpledevelopments.org/
Config.LicenseKey = 'LICENSE-KEY'Text settings for interactions
Config.Text = {
store = "Store Vehicle",
retrieve = "Open Garage",
keybind = "E"
}Enable/Disable using SimpleBanking to charge players when storing vehicles.
Config.Payments = {
Enabled = true, -- Set to false to disable storage fees.
ResourceName = "SimpleBanking",
StoreCost = 150 -- The amount to charge for storing a vehicle.
}Here is an example of how to configure garages around the map.
Config.Garages = {
['vespucci_garage'] = { -- Unique key for the garage.
deployPoint = { -- The point where players open the garage menu.
name = "Downtown Parking lot",
coords = vector3(-281.2758, -888.8047, 31.3180), -- Garage Menu coords.
marker = {
enabled = true, -- Enable / Disable the marker
type = 20, -- Marker type:
scale = 1.0, -- How big the marker will be.
color = { -- What color is the marker (RGB)
r = 255, -- Red
g = 165, -- Green
b = 0, -- Blue
a = 150 -- Transparency
},
coords = vector3(-281.2758, -888.8047, 30.50) -- Coords where the marker will show
},
blip = {
enabled = true,
sprite = 357,
color = 5,
scale = 0.8,
display = 4,
name = "Downtown Parking - Retrieve"
}
},
returnPoint = { -- The point where players return vehicles.
name = "Downtown Parking lot Return",
coords = vec3(-300.2554, -884.1843, 30.5826),
storeCost = 250,
marker = {
enabled = true,
type = 20,
scale = 1.0,
color = { r = 255, g = 165, b = 0, a = 150 },
coords = vector3(-300.2554, -884.1843, 30.00)
},
blip = {
enabled = true,
sprite = 289,
color = 2,
scale = 0.7,
display = 4,
name = "Downtown Parking - Store"
}
},
-- The exact location and heading where vehicles will spawn.
spawnPoint = { coords = vec3(-316.7349, -895.7088, 31.0739), heading = 346.6873 }
},
}