⚙️ Config

Config = {}

-- Core Settings
Config.targetSupport = true
Config.targetIcon = 'fa-solid fa-key'
Config.keyItem = 'vehicle_key'

-- Visual/Audio Effects
Config.sounds = true
Config.horn = true
Config.lights = true

-- Progress Settings
Config.progressLength = 1000
Config.toDisable = {
    move = true,
    car = true,
    combat = true
}

-- Animation Settings
Config.anim = {
    dict = 'anim@mp_player_intmenu@key_fob@',
    clip = 'fob_click'
}

-- Key System Settings
Config.Keys = {
    Toggle = true,
    Distance = 7,

    HotWire = {
        Skills = {
            { areaSize = 60, speedMultiplier = 1 },
            { areaSize = 60, speedMultiplier = 0.5 }
        },
        animDict = "veh@std@ds@base",
        anim = "hotwire",
        item = "wire_cutters"
    }
}

-- Notification Messages
Config.notifications = {
    locked = true,
    unlocked = true,
    noNearbyVehicles = true,
    notYourVehicle = true,
    noKey = "You don't have keys for this vehicle"
}

Config.locale = {
    notifyTitle = "Vehicle Keys",
    noVehicleNearby = "No vehicle nearby",
    notOwned = "You don't own this vehicle",
    notifyLocked = "Vehicle locked",
    notifyUnlocked = "Vehicle unlocked",
    progressLocking = "Locking vehicle...",
    progressUnlocking = "Unlocking vehicle...",
    targetLabel = "Lock/Unlock",
    waitBeforeLock = "Wait before locking/unlocking again",
    tooFarFromVehicle = "You're too far from the vehicle!",
    cannotLockRunning = "Can't lock vehicle with engine running!",
    someoneInside = "Someone is inside the vehicle!",
    mustBeDriver = "You must be the driver!",
    alreadyHaveKeys = "You already have keys for this vehicle!",
    waitBeforeHotwire = "Please wait!",
    hotwireProgress = "Attempting to hotwire...",
    hotwireCancelled = "Hotwiring cancelled!",
    hotwireSuccess = "Successfully hotwired the vehicle!",
    hotwireFailed = "Failed to hotwire! Alarm triggered!",
    cannotTurnOffHotwired = "This vehicle is hotwired! Can't turn off engine.",
    waitBeforeAction = "Please wait a moment!",
    mustBeInVehicle = "You must be in a vehicle!"
}

Last updated