Configuration
The configuration options can be found in the config.lua
file.
Test Drive
Option | Type | Description |
---|---|---|
testDrive.timeLimit | number | Time in minutes until the vehicle gets deleted during test drive |
testDrive.spawnLocation | vector4 | Spawn location for test drive |
testDrive.returnLocation | vector4 | Location to return the vehicle 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
Option | Type | Description |
---|---|---|
purchaseSpawnLocation | vector4 | Spawn location when a vehicle is bought |
config.lua
purchaseSpawnLocation = vector4(-888.46, -205.58, 38.27, 70.44)
Showroom
Option | Type | Description |
---|---|---|
showroom.[x].coords | vector4 | Vehicle spawn coordinate |
showroom.[x].defaultVehicle | string | Default vehicle to display |
showroom.[x].chosenVehicle | string | Same as default but is dynamically changed when swapping Vehicles |
config.lua
showroom = {
[1] = {
coords = vector4(-896.92, -234.0, 38.9, 144.2),
defaultVehicle = 'medoly',
chosenVehicle = 'medoly'
},
[2] = {
coords = vector4(-913.09, -229.5, 38.9, 239.0),
defaultVehicle = 'medolsplaid',
chosenVehicle = 'medolsplaid'
},
[3] = {
coords = vector4(-904.629, -228.28, 38.9, 150.0),
defaultVehicle = 'medol3',
chosenVehicle = 'medol3'
},
[4] = {
coords = vector4(-908.8, -227.6, 38.9, 194.5),
defaultVehicle = 'medolxplaid',
chosenVehicle = 'medolxplaid'
}
}