Config = {}
Config.UsingTarget = GetConvar('UseTarget', 'false') == 'true'
Config.Commission = 0.10 -- Percent that goes to sales person from a full car sale 10%
Config.FinanceCommission = 0.05 -- Percent that goes to sales person from a finance sale 5%
Config.FinanceZone = vector3(-29.53, -1103.67, 26.42)-- Where the finance menu is located
Config.PaymentWarning = 10 -- time in minutes that player has to make payment before repo
Config.PaymentInterval = 24 -- time in hours between payment being due
Config.MinimumDown = 10 -- minimum percentage allowed down
Config.MaximumPayments = 24 -- maximum payments allowed
Config.Shops = {
['pdm'] = {
['Type'] = 'free-use', -- no player interaction is required to purchase a car
['Zone'] = {
['Shape'] = {--polygon that surrounds the shop
vector2(-56.727394104004, -1086.2325439453),
vector2(-60.612808227539, -1096.7795410156),
vector2(-58.26834487915, -1100.572265625),
vector2(-35.927803039551, -1109.0034179688),
vector2(-34.427627563477, -1108.5111083984),
vector2(-32.02657699585, -1101.5877685547),
vector2(-33.342102050781, -1101.0377197266),
vector2(-31.292987823486, -1095.3717041016)
},
['minZ'] = 25.0, -- min height of the shop zone
['maxZ'] = 28.0, -- max height of the shop zone
['size'] = 2.75 -- size of the vehicles zones
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = '本土车店', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 326, -- Blip sprite
['blipColor'] = 3, -- Blip color
['Categories'] = {-- Categories available to browse
['jirou'] = '肌肉车',
['xxcl'] = '小型车',
['xxc'] = '厢型车',
},
['TestDriveTimeLimit'] = 0.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(-45.67, -1098.34, 26.42), -- Blip Location
['ReturnLocation'] = vector3(-44.74, -1082.58, 26.68), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['VehicleSpawn'] = vector4(-56.79, -1109.85, 26.43, 71.5), -- Spawn location when vehicle is bought
['TestDriveSpawn'] = vector4(-56.79, -1109.85, 26.43, 71.5), -- Spawn location for test drive
['ShowroomVehicles'] = {
[1] = {
coords = vector4(-47.25, -1092.1, 26.88, 231.23),
defaultVehicle = 'issi3',
chosenVehicle = 'issi3',
},
[2] = {
coords = vector4(-55.01, -1096.45, 26.88, 267.91),
defaultVehicle = 'chino',
chosenVehicle = 'chino'
},
[3] = {
coords = vector4(-41.96, -1101.69, 26.88, 66.22),
defaultVehicle = 'pony',
chosenVehicle = 'pony'
},
[4] = {
coords = vector4(-36.69, -1093.55, 26.88, 109.27),
defaultVehicle = 'gburrito',
chosenVehicle = 'gburrito'
},
[5] = {
coords = vector4(-49.66, -1083.69, 26.79, 232.14),
defaultVehicle = 'pony',
chosenVehicle = 'pony'
}
},
},
['luxury'] = {
['Type'] = 'free-use', -- meaning a real player has to sell the car
['Zone'] = {
['Shape'] = {
vector2(-1260.6973876953, -349.21334838867),
vector2(-1268.6248779297, -352.87365722656),
vector2(-1274.1533203125, -358.29794311523),
vector2(-1273.8425292969, -362.73715209961),
vector2(-1270.5701904297, -368.6716003418),
vector2(-1266.0561523438, -375.14080810547),
vector2(-1244.3684082031, -362.70278930664),
vector2(-1249.8704833984, -352.03326416016),
vector2(-1252.9503173828, -345.85726928711)
},
['minZ'] = 36.646457672119,
['maxZ'] = 37.516143798828,
['size'] = 2.75 -- size of the vehicles zones
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = '进口车店',
['showBlip'] = true, -- true or false
['blipSprite'] = 326, -- Blip sprite
['blipColor'] = 3, -- Blip color
['Categories'] = {
['tt'] = '丰田',
['bt'] = '本田',
['mkl'] = '迈凯伦',
['bc'] = '奔驰',
['ad'] = '奥迪',
['ft'] = '福特',
['lh'] = '路虎',
['dz'] = '大众',
['bm'] = '宝马',
},
['TestDriveTimeLimit'] = 0.4,
['Location'] = vector3(-1255.6, -361.16, 36.91),
['ReturnLocation'] = vector3(-1231.46, -349.86, 37.33),
['VehicleSpawn'] = vector4(-1267.2, -337.23, 36.35, 300.00),
['TestDriveSpawn'] = vector4(-1232.81, -347.99, 37.33, 23.28), -- Spawn location for test drive
['ShowroomVehicles'] = {
[1] = {
coords = vector4(-1265.31, -354.44, 35.91, 205.08),
defaultVehicle = 'fortuner',
chosenVehicle = 'fortuner'
},
[2] = {
coords = vector4(-1270.06, -358.55, 35.91, 247.08),
defaultVehicle = '23civichb',
chosenVehicle = '23civichb'
},
[3] = {
coords = vector4(-1269.21, -365.03, 35.91, 297.12),
defaultVehicle = 'p1',
chosenVehicle = 'p1'
}
-- [4] = {
-- coords = vector4(-1252.07, -364.2, 35.91, 56.44),
-- defaultVehicle = 'terzo',
-- chosenVehicle = 'terzo'
-- },
-- [5] = {
-- coords = vector4(-1255.49, -365.91, 35.91, 55.63),
-- defaultVehicle = 'veneno',
-- chosenVehicle = 'veneno'
-- },
-- [6] = {
-- coords = vector4(-1249.21, -362.97, 35.91, 53.24),
-- defaultVehicle = 'maj935',
-- chosenVehicle = 'maj935'
-- }
}
}, -- Add your next table under this comma
['boats'] = {
['Type'] = 'free-use', -- no player interaction is required to purchase a vehicle
['Zone'] = {
['Shape'] = {--polygon that surrounds the shop
vector2(-729.39, -1315.84),
vector2(-766.81, -1360.11),
vector2(-754.21, -1371.49),
vector2(-716.94, -1326.88)
},
['minZ'] = 0.0, -- min height of the shop zone
['maxZ'] = 5.0, -- max height of the shop zone
['size'] = 6.2 -- size of the vehicles zones
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = '码头商店', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 410, -- Blip sprite
['blipColor'] = 3, -- Blip color
['Categories'] = {-- Categories available to browse
['boats'] = 'Boats'
},
['TestDriveTimeLimit'] = 1.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(-738.25, -1334.38, 1.6), -- Blip Location
['ReturnLocation'] = vector3(-714.34, -1343.31, 0.0), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['VehicleSpawn'] = vector4(-727.87, -1353.1, -0.17, 137.09), -- Spawn location when vehicle is bought
['ShowroomVehicles'] = {
[1] = {
coords = vector4(-727.05, -1326.59, 0.00, 229.5), -- where the vehicle will spawn on display
defaultVehicle = 'seashark', -- Default display vehicle
chosenVehicle = 'seashark' -- Same as default but is dynamically changed when swapping vehicles
},
[2] = {
coords = vector4(-732.84, -1333.5, -0.50, 229.5),
defaultVehicle = 'dinghy',
chosenVehicle = 'dinghy'
},
[3] = {
coords = vector4(-737.84, -1340.83, -0.50, 229.5),
defaultVehicle = 'speeder',
chosenVehicle = 'speeder'
},
[4] = {
coords = vector4(-741.53, -1349.7, -2.00, 229.5),
defaultVehicle = 'marquis',
chosenVehicle = 'marquis'
},
},
},
['air'] = {
['Type'] = 'free-use', -- no player interaction is required to purchase a vehicle
['Zone'] = {
['Shape'] = {--polygon that surrounds the shop
vector2(-1607.58, -3141.7),
vector2(-1672.54, -3103.87),
vector2(-1703.49, -3158.02),
vector2(-1646.03, -3190.84)
},
['minZ'] = 12.99, -- min height of the shop zone
['maxZ'] = 16.99, -- max height of the shop zone
['size'] = 7.0, -- size of the vehicles zones
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = '飞机店', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 251, -- Blip sprite
['blipColor'] = 3, -- Blip color
['Categories'] = {-- Categories available to browse
['helicopters'] = 'Helicopters',
['planes'] = 'Planes'
},
['TestDriveTimeLimit'] = 1.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(-1652.76, -3143.4, 13.99), -- Blip Location
['ReturnLocation'] = vector3(-1628.44, -3104.7, 13.94), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['VehicleSpawn'] = vector4(-1617.49, -3086.17, 13.94, 329.2), -- Spawn location when vehicle is bought
['ShowroomVehicles'] = {
[1] = {
coords = vector4(-1651.36, -3162.66, 12.99, 346.89), -- where the vehicle will spawn on display
defaultVehicle = 'volatus', -- Default display vehicle
chosenVehicle = 'volatus' -- Same as default but is dynamically changed when swapping vehicles
},
[2] = {
coords = vector4(-1668.53, -3152.56, 12.99, 303.22),
defaultVehicle = 'luxor2',
chosenVehicle = 'luxor2'
},
[3] = {
coords = vector4(-1632.02, -3144.48, 12.99, 31.08),
defaultVehicle = 'nimbus',
chosenVehicle = 'nimbus'
},
[4] = {
coords = vector4(-1663.74, -3126.32, 12.99, 275.03),
defaultVehicle = 'frogger',
chosenVehicle = 'frogger'
},
},
},
}
|