Trunk Lock System
Configuration

Configuration

File: config.lua

Config = {}
 
-- Framework: "esx" or "qb"
Config.Framework = "esx"
 
-- Debug prints
Config.DebugEnabled = false
 
-- ox_inventory integration
Config.UseOxInventory = true
 
-- Progress durations (ms)
Config.InstallLockDuration = 5000
Config.CutLockDuration = 7000
 
-- Distances
Config.InteractionDistance = 3.0
Config.TrunkDistance = 1.5
 
-- Items
Config.Items = {
  TrunkLock = "trunk_lock",
  AngleGrinder = "angle_grinder"
}
 
-- ESX ownership table
Config.OwnedVehiclesTable = "owned_vehicles"
Config.OwnedVehiclesOwnerColumn = "owner"
Config.OwnedVehiclesPlateColumn = "plate"
 
-- QBCore ownership table
Config.QbVehiclesTable = "player_vehicles"
Config.QbVehiclesOwnerColumn = "citizenid"
Config.QbVehiclesPlateColumn = "plate"