Configuration
config.lua
config.lua
Config = {}
Config.Command = "coins"
Config.VehiclePreview = {
Plate = "SPECTRUM",
Alpha = 200, -- lower = more see through
SpinSpeed = 15, -- lower = faster spinning
MaxLoadTime = 30, -- seconds
Info = {
SpeedIndicator = "mph", -- mph / kmh
ShowMaxSpeed = true,
ShowAcceleration = true,
ShowBraking = true,
ShowTraction = true,
ShowMaxPassengers = true,
}
}
Config.Keys = {
Prefix = "SPECTRUM",
Admin = {
HideKey = true,
Placeholder = "No description",
Select = {
{label = "1000", value = 1000},
{label = "2200", value = 2200},
{label = "4800", value = 4800},
{label = "7800", value = 7800},
{label = "11200", value = 11200},
}
}
}
Config.Store = {
[1] = {
type = "category",
title = "Vehicles",
icon = "car",
description = "You can purchase vehicles here.",
content = {
[1] = {
title = "Torero XO",
icon = "star",
type = "vehicle",
price = 100,
model = "torero2",
vehicleProperties = {
["color1"] = 5,
},
limit = {
id = "toreroxo",
count = 10,
}
},
[2] = {
title = "Komoda",
icon = "star",
type = "vehicle",
price = 10000,
model = "komoda",
limit = {
id = "blista",
count = 0,
}
},
[3] = {
title = "Krieger",
icon = "star",
type = "vehicle",
price = 10000,
model = "krieger",
vehicleProperties = {
["color1"] = 5,
},
limit = {
id = "krieger",
count = 10,
}
},
[4] = {
title = "Ignus",
icon = "car",
type = "vehicle",
price = 100,
model = "ignus",
},
[5] = {
title = "Nero",
icon = "car",
type = "vehicle",
price = 10000,
model = "nero",
},
[8] = {
title = "Buzzard",
icon = "helicopter",
type = "vehicle",
price = 200,
model = "buzzard2",
vehType = "heli",
},
}
},
[2] = {
type = "category",
title = "Benefits",
icon = "book",
description = "You can purchase benefits here.",
content = {
[1] = {
title = "Change plate",
icon = "tarp",
type = "plate",
price = 100,
},
[2] = {
title = "Multichar - 2nd slot",
icon = "person",
type = "multichar",
price = 1000,
slots = 2,
},
[3] = {
title = "Multichar - 3rd slot",
icon = "star",
type = "multichar",
price = 5000,
slots = 3,
limit = {
id = "multichar3",
count = 10,
}
},
}
},
[3] = {
type = "category",
title = "Other",
icon = "box",
description = "You can purchase other options here.",
content = {
[1] = {
title = "Example",
icon = "star",
type = "custom",
price = 100,
callback = "example",
item = "money",
amount = 1,
}
}
},
}Last updated on