• Documentation
  • Dealership
  • Configuration

Configuration

The configuration options can be found in the config.lua file.

Test Drive

OptionTypeDescription
testDrive.timeLimitnumberTime in minutes until the Tesla gets deleted during test drive
testDrive.spawnLocationvector4Spawn location for test drive
testDrive.returnLocationvector4Location to return the Tesla after test drive
config.lua
testDrive = {
  timeLimit = 0.5,
  spawnLocation = vector4(-888.46, -205.58, 38.27, 70.44),
  returnLocation = vector4(-888.46, -205.58, 38.27, 70.44)
}

Purchase Spawn Location

OptionTypeDescription
purchaseSpawnLocationvector4Spawn location when a Tesla is bought
config.lua
purchaseSpawnLocation = vector4(-888.46, -205.58, 38.27, 70.44)

Showroom

OptionTypeDescription
showroom.[x].coordsvector4Vehicle spawn coordinate
showroom.[x].defaultVehiclestringDefault vehicle to display
showroom.[x].chosenVehiclestringSame as default but is dynamically changed when swapping Vehicles
config.lua
showroom = {
  [1] = {
    coords = vector4(-896.92, -234.0, 38.9, 144.2),
    defaultVehicle = 'modely',
    chosenVehicle = 'modely'
  },
  [2] = {
    coords = vector4(-913.09, -229.5, 38.9, 239.0),
    defaultVehicle = 'modelsplaid',
    chosenVehicle = 'modelsplaid'
  },
  [3] = {
    coords = vector4(-904.629, -228.28, 38.9, 150.0),
    defaultVehicle = 'model3',
    chosenVehicle = 'model3'
  },
  [4] = {
    coords = vector4(-908.8, -227.6, 38.9, 194.5),
    defaultVehicle = 'modelxplaid',
    chosenVehicle = 'modelxplaid'
  }
}