forked from Simnation/Main
116 lines
No EOL
3.7 KiB
Lua
116 lines
No EOL
3.7 KiB
Lua
cfg = cfg or {}
|
|
|
|
cfg.despawn_cooldown = 120 -- 120 Seconds
|
|
cfg.max_return_distance = 25.0
|
|
|
|
cfg.vehicle_customizations = {
|
|
["default"] = {
|
|
color = {
|
|
primary_color = 88,
|
|
secondary_color = 77,
|
|
interior_color = 77,
|
|
},
|
|
vehicle_mods = {
|
|
engine = 0, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
suspension = 0, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
brakes = 0, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
transmission = 0, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
turbo = 0, -- Useable Levels: [0 (Disabled), 1 (Enabled)]
|
|
},
|
|
-- Will Add More Customizations Here.
|
|
|
|
},
|
|
["example"] = { -- Heres an example of how to create a unique customization profile for a vehicle. Now just add cfg.vehicle_customizations["example"] to the vehicles customization
|
|
color = {
|
|
primary_color = 4,
|
|
secondary_color = 23,
|
|
interior_color = 1,
|
|
},
|
|
vehicle_mods = {
|
|
engine = 4, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
suspension = 4, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
brakes = 3, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
transmission = 2, -- Useable Levels: [0 (Stock), 1, 2, 3, 4 (Max)]
|
|
turbo = 1, -- Useable Levels: [0 (Disabled), 1 (Enabled)]
|
|
},
|
|
|
|
},
|
|
}
|
|
|
|
cfg.taxi_vehicles = {
|
|
{
|
|
vehicle = "taxi",
|
|
label = "Taxi",
|
|
level = 1,
|
|
rental_price = 25,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "taxi.png", -- Images Included Here are Hardcoded you can use images like these aswell [ https://github.com/matthias18771/v-vehicle-images/blob/main/images/adder.png ]
|
|
},
|
|
{
|
|
vehicle = "minivan",
|
|
label = "Minivan",
|
|
level = 2,
|
|
rental_price = 50,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "minivan.png",
|
|
},
|
|
{
|
|
vehicle = "moonbeam",
|
|
label = "Moonbeam",
|
|
level = 4,
|
|
rental_price = 65,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "moonbeam.png",
|
|
},
|
|
{
|
|
vehicle = "primo",
|
|
label = "Primo",
|
|
level = 6,
|
|
rental_price = 75,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "primo.png",
|
|
},
|
|
{
|
|
vehicle = "futo",
|
|
label = "Futo",
|
|
level = 8,
|
|
rental_price = 85,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "futo.png",
|
|
},
|
|
{
|
|
vehicle = "rapidgt3",
|
|
label = "Rapid GT3",
|
|
level = 10,
|
|
rental_price = 100,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "rapidgt3.png",
|
|
},
|
|
{
|
|
vehicle = "dubsta",
|
|
label = "Dubsta",
|
|
level = 13,
|
|
rental_price = 200,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "dubsta.png",
|
|
},
|
|
{
|
|
vehicle = "cavalcade3",
|
|
label = "Cavalcade III",
|
|
level = 16,
|
|
rental_price = 225,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "cavalcade3.png",
|
|
},
|
|
{
|
|
vehicle = "windsor2",
|
|
label = "Windsor II",
|
|
level = 25,
|
|
rental_price = 250,
|
|
customization = cfg.vehicle_customizations["default"],
|
|
image = "windsor2.png",
|
|
},
|
|
}
|
|
|
|
-- IGNORE
|
|
for k,v in pairs(cfg.taxi_vehicles) do cfg.taxi_vehicles[k].id = k end |