Configuration
change the needs in config.lua
config.lua
Config = {}
Config.Debug = false -- set to false to disable prints
-- Cost to repair a vehicle
Config.RepairCost = 500
Config.Blip = {
sprite = 446,
display = 4,
scale = 0.8,
color = 5,
shortRange = true
}
-- Repair stations
Config.RepairStations = {
{ coords = vector3(-2170.2092, -403.2636, 12.9691), name = "Repair Station" },
{ coords = vector3(539.1240, -181.4326, 54.4830), name = "Repair Station" },
{ coords = vector3(1143.7465, -775.8478, 57.5987), name = "Repair Station" }
}
-- Progress Bar Duration
Config.RepairDuration = 5000
Config.Zone = {
radius = 5.0,
debug = false
}
-- Text UI Settings
Config.TextUI = {
repairPrompt = "[E] Repair Vehicle - $%s",
notInVehicle = "Get in a vehicle to repair",
iconRepair = "wrench",
iconWarn = "exclamation-triangle",
position = "right-center",
label = 'Repairing vehicle...',
}
Config.Notifications = {
notInVehicle = { title = 'Error', description = 'You must be in a vehicle to repair it', type = 'error' },
noMoney = function(cost) return { title = 'Error', description = 'Not enough money ($' .. cost .. ')', type = 'error' } end,
alreadyRepaired = { title = 'Info', description = 'Vehicle doesn\'t need repairs', type = 'info' },
repairSuccess = { title = 'Success', description = 'Vehicle repaired!', type = 'success' },
repairCancelled = { title = 'Cancelled', description = 'Repair cancelled', type = 'error' }
}
Config.WebhookURL = "" -- Add your Discord webhook URL here
Config.Webhook = {
botName = "Repair Station",
footer = "Repair Station Logs",
colors = {
payment = 65280, -- green
cheatAlert = 16711680 -- red
}
}
Last updated