Skip to content

Commit

Permalink
Update export
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed Nov 23, 2023
1 parent fc640d6 commit ec22903
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 109 deletions.
150 changes: 75 additions & 75 deletions config.lua
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
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.PreventFinanceSelling = false -- allow/prevent players from using /transfervehicle if financed
Config.FilterByMake = false -- adds a make list before selecting category in shops
Config.SortAlphabetically = true -- will sort make, category, and vehicle selection menus alphabetically
Config.HideCategorySelectForOne = true -- will hide the category selection menu if a shop only sells one category of vehicle or a make has only one category
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.PreventFinanceSelling = false -- allow/prevent players from using /transfervehicle if financed
Config.FilterByMake = false -- adds a make list before selecting category in shops
Config.SortAlphabetically = true -- will sort make, category, and vehicle selection menus alphabetically
Config.HideCategorySelectForOne = true -- will hide the category selection menu if a shop only sells one category of vehicle or a make has only one category
Config.Shops = {
['pdm'] = {
['Type'] = 'free-use', -- no player interaction is required to purchase a car
['Zone'] = {
['Shape'] = {--polygon that surrounds the shop
['Shape'] = { --polygon that surrounds the shop
vector2(-56.727394104004, -1086.2325439453),
vector2(-60.612808227539, -1096.7795410156),
vector2(-58.26834487915, -1100.572265625),
Expand All @@ -25,25 +25,25 @@ Config.Shops = {
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
['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'] = 'Premium Deluxe Motorsport', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 326, -- Blip sprite
['blipColor'] = 3, -- Blip color
['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
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'Premium Deluxe Motorsport', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 326, -- Blip sprite
['blipColor'] = 3, -- Blip color
['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(-45.65, -1093.66, 25.44, 69.5), -- where the vehicle will spawn on display
defaultVehicle = 'ardent', -- Default display vehicle
chosenVehicle = 'ardent', -- Same as default but is dynamically changed when swapping vehicles
defaultVehicle = 'ardent', -- Default display vehicle
chosenVehicle = 'ardent', -- Same as default but is dynamically changed when swapping vehicles
},
[2] = {
coords = vector4(-48.27, -1101.86, 25.44, 294.5),
Expand Down Expand Up @@ -98,13 +98,13 @@ Config.Shops = {
},
['minZ'] = 36.646457672119,
['maxZ'] = 37.516143798828,
['size'] = 2.75 -- size of the vehicles zones
['size'] = 2.75 -- size of the vehicles zones
},
['Job'] = 'cardealer', -- Name of job or none
['ShopLabel'] = 'Luxury Vehicle Shop',
['showBlip'] = true, -- true or false
['blipSprite'] = 326, -- Blip sprite
['blipColor'] = 3, -- Blip color
['showBlip'] = true, -- true or false
['blipSprite'] = 326, -- Blip sprite
['blipColor'] = 3, -- Blip color
['TestDriveTimeLimit'] = 0.5,
['Location'] = vector3(-1255.6, -361.16, 36.91),
['ReturnLocation'] = vector3(-1231.46, -349.86, 37.33),
Expand Down Expand Up @@ -142,35 +142,35 @@ Config.Shops = {
chosenVehicle = 'hexer'
},
}
}, -- Add your next table under this comma
}, -- 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
['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
['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'] = 'Marina Shop', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 410, -- Blip sprite
['blipColor'] = 3, -- Blip color
['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
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'Marina Shop', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 410, -- Blip sprite
['blipColor'] = 3, -- Blip color
['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
['TestDriveSpawn'] = vector4(-722.23, -1351.98, 0.14, 135.33), -- Spawn location for test drive
['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
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),
Expand All @@ -192,31 +192,31 @@ Config.Shops = {
['air'] = {
['Type'] = 'free-use', -- no player interaction is required to purchase a vehicle
['Zone'] = {
['Shape'] = {--polygon that surrounds the shop
['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
['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'] = 'Air Shop', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 251, -- Blip sprite
['blipColor'] = 3, -- Blip color
['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
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'Air Shop', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 251, -- Blip sprite
['blipColor'] = 3, -- Blip color
['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
['TestDriveSpawn'] = vector4(-1625.19, -3103.47, 13.94, 330.28), -- Spawn location for test drive
['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
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),
Expand All @@ -238,7 +238,7 @@ Config.Shops = {
['truck'] = {
['Type'] = 'free-use', -- no player interaction is required to purchase a car
['Zone'] = {
['Shape'] = {--polygon that surrounds the shop
['Shape'] = { --polygon that surrounds the shop
vector2(872.23, -1173.5),
vector2(868.88, -1162.7),
vector2(900.91, -1156.54),
Expand All @@ -248,25 +248,25 @@ Config.Shops = {
vector2(890.06, -1155.0),
vector2(907.71, -1168.71)
},
['minZ'] = 23.0, -- min height of the shop zone
['maxZ'] = 28.0, -- max height of the shop zone
['size'] = 5.75 -- size of the vehicles zones
['minZ'] = 23.0, -- min height of the shop zone
['maxZ'] = 28.0, -- max height of the shop zone
['size'] = 5.75 -- size of the vehicles zones
},
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'Truck Motor Shop', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 477, -- Blip sprite
['blipColor'] = 2, -- Blip color
['TestDriveTimeLimit'] = 0.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(900.47, -1155.74, 25.16), -- Blip Location
['ReturnLocation'] = vector3(900.47, -1155.74, 25.16), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['Job'] = 'none', -- Name of job or none
['ShopLabel'] = 'Truck Motor Shop', -- Blip name
['showBlip'] = true, -- true or false
['blipSprite'] = 477, -- Blip sprite
['blipColor'] = 2, -- Blip color
['TestDriveTimeLimit'] = 0.5, -- Time in minutes until the vehicle gets deleted
['Location'] = vector3(900.47, -1155.74, 25.16), -- Blip Location
['ReturnLocation'] = vector3(900.47, -1155.74, 25.16), -- Location to return vehicle, only enables if the vehicleshop has a job owned
['VehicleSpawn'] = vector4(909.35, -1181.58, 25.55, 177.57), -- Spawn location when vehicle is bought
['TestDriveSpawn'] = vector4(867.65, -1192.4, 25.37, 95.72), -- Spawn location for test drive
['ShowroomVehicles'] = {
[1] = {
coords = vector4(890.84, -1170.92, 25.08, 269.58), -- where the vehicle will spawn on display
defaultVehicle = 'hauler', -- Default display vehicle
chosenVehicle = 'hauler', -- Same as default but is dynamically changed when swapping vehicles
defaultVehicle = 'hauler', -- Default display vehicle
chosenVehicle = 'hauler', -- Same as default but is dynamically changed when swapping vehicles
},
[2] = {
coords = vector4(878.45, -1171.04, 25.05, 273.08),
Expand Down
Loading

0 comments on commit ec22903

Please sign in to comment.