143 lines
4.5 KiB
Lua
143 lines
4.5 KiB
Lua
-- Workers Job Garages [EDIT]
|
|
-- [INFO] Assign per-job parking spots with pricing, spawn points, allowed vehicles,
|
|
-- liveries/tuning/extras and a preview camera. If using qs-gangs, replace `job` with `gang`.
|
|
-- Example for gangs:
|
|
-- -- job = 'police',
|
|
-- -- gang = 'families',
|
|
|
|
Config.JobGarages = {
|
|
{
|
|
job = 'police', -- [EDIT] Job/gang identifier
|
|
name = 'police-1', -- [EDIT] Unique garage name
|
|
grade = 1, -- [EDIT] Minimum grade required (number)
|
|
price = 100, -- [EDIT] Rental price (0 for free)
|
|
coords = { -- [EDIT] Menu & vehicle spawn positions
|
|
menuCoords = vec3(457.9, -1017.28, 28.28),
|
|
spawnCoords = vec4(446.48, -1019.35, 27.55, 91.14),
|
|
},
|
|
vehicles = { -- [EDIT] Allowed vehicle models (hash/backtick form)
|
|
`police`,
|
|
`police2`,
|
|
},
|
|
liveries = { -- [ADV] Default livery per model
|
|
[`police`] = 1
|
|
},
|
|
tuning = { -- [ADV] Mods applied when spawning each model
|
|
[`police`] = {
|
|
modEngine = 3,
|
|
modBrakes = 2,
|
|
modTransmission = 2,
|
|
modSuspension = 3,
|
|
modArmor = true,
|
|
windowTint = 1
|
|
}
|
|
},
|
|
extras = { -- [ADV] Toggle vehicle extras per model
|
|
[`police`] = {
|
|
['1'] = true,
|
|
['2'] = true,
|
|
['3'] = true,
|
|
['4'] = true,
|
|
['5'] = true,
|
|
['6'] = true,
|
|
['7'] = true,
|
|
['8'] = true,
|
|
['9'] = true,
|
|
['10'] = true,
|
|
['11'] = true,
|
|
['12'] = true,
|
|
['13'] = true,
|
|
}
|
|
},
|
|
vehicleCamera = { -- [EDIT] Cinematic preview camera
|
|
vehicleCoords = vec4(436.694519, -1020.843933, 28.319458, 320.314972),
|
|
camera = {
|
|
coords = vec3(440.40, -1020.42, 28.61),
|
|
rotation = vec3(-2.0, 8.0, 97.0),
|
|
ped = vec4(438.62, -1020.60, 28.70, 273.42)
|
|
}
|
|
}
|
|
},
|
|
|
|
{
|
|
job = 'ambulance',
|
|
name = 'ambulance-1',
|
|
grade = 0,
|
|
price = 100, -- [EDIT]
|
|
coords = {
|
|
menuCoords = vec3(294.356049, -606.052734, 43.315796),
|
|
spawnCoords = vec4(294.356049, -606.052734, 42.315796, 99.212593),
|
|
},
|
|
vehicles = {
|
|
`ambulance`,
|
|
},
|
|
liveries = {
|
|
[`ambulance`] = 3
|
|
},
|
|
tuning = {
|
|
[`ambulance`] = {
|
|
modEngine = 3,
|
|
modBrakes = 2,
|
|
modTransmission = 2,
|
|
modSuspension = 3,
|
|
modArmor = true,
|
|
windowTint = 1
|
|
}
|
|
},
|
|
extras = {}, -- [EDIT] No extras configured for this model
|
|
vehicleCamera = {
|
|
vehicleCoords = vec4(283.107697, -605.182434, 42.894531, 79.370079),
|
|
camera = {
|
|
coords = vec3(280.21, -608.26, 43.08),
|
|
rotation = vec3(3.0, 7.0, -26.0),
|
|
ped = vec4(282.065948, -606.870300, 43.113525, 127.881889)
|
|
}
|
|
}
|
|
},
|
|
|
|
{
|
|
job = 'mechanic',
|
|
name = 'mechanic-1',
|
|
grade = 0,
|
|
price = 100, -- [EDIT]
|
|
coords = {
|
|
menuCoords = vec3(-192.712082, -1290.448364, 31.285034),
|
|
spawnCoords = vec4(-184.035156, -1290.698853, 30.285034, 175.748032),
|
|
},
|
|
vehicles = {
|
|
`slamtruck`,
|
|
`flatbed`,
|
|
},
|
|
liveries = {
|
|
[`slamtruck`] = 1
|
|
},
|
|
tuning = {
|
|
[`slamtruck`] = {
|
|
modEngine = 3,
|
|
modBrakes = 2,
|
|
modTransmission = 2,
|
|
modSuspension = 3,
|
|
modArmor = true,
|
|
windowTint = 1
|
|
},
|
|
[`flatbed`] = {
|
|
modEngine = 3,
|
|
modBrakes = 2,
|
|
modTransmission = 2,
|
|
modSuspension = 3,
|
|
modArmor = true,
|
|
windowTint = 1
|
|
}
|
|
},
|
|
extras = {}, -- [EDIT]
|
|
vehicleCamera = {
|
|
vehicleCoords = vec4(-197.353851, -1304.004395, 30.981689, 291.968506),
|
|
camera = {
|
|
coords = vec3(-195.24, -1299.90, 31.14),
|
|
rotation = vec3(3.0, 8.0, 170.0),
|
|
ped = vec4(-197.17, -1302.36, 31.30, 334.51)
|
|
}
|
|
}
|
|
}
|
|
}
|