Configuration
JustRigHeistV2 offers highly customizable config
Config = {}
Config.Framework = "esx" -- esx/qbcore/qbox
Config.Target = "ox_target" -- Target to be used for npcs ox_target, qb-target or nil (nil to disable and use keys)
Config.Lang = "en"
-- / Which identifier script should use to save player data
-- | Possible values:
-- | character for esx or qbcore character ids
-- \ or simply use other fivem supported identifiers (steam, discord, license)
Config.Identifier = "character"
Config.HelpNotify = "default" -- default or custom function
-- This runs every tick
-- Config.Notify = function (text)
-- end
Config.Notify = "framework" -- framework or custom function (framework will use framework notification)
-- This runs once
-- Config.Notify = function(title, type, text)
-- end
Config.Compatibility = { -- Replace framework functions ( getVehiclesProperties ) support ESX/QBCore/QBox/ox_lib for now. (it will overwrite fxmanifest.lua from es_extended/qb-core/qbox/ox_lib)
Auto = false,
Command = "garages_compatibility" -- console command to install compatibility
}
Config.AdminCommands = {
GarageCreator = "garages",
GiveVehicle = "givevehicle",
}
Config.Admins = { -- Admin list (full access)
"steam:asasas", "discord:834505070900936714"
}
-- Plates pattern
-- %A stands for a random uppercase letter (A-Z)
-- %a stands for a random lowercase letter (a-z)
-- %N stands for a random number (0-9)
-- Max 8 characters
Config.Plate = "%A%a%a%a%N%N%N%A"
Config.Images = {
General = "https://docs.fivem.net/vehicles/%m.webp", -- All default vehicles icons (%m stands for model name in lowercase)
Overrides = { -- overriding images for specific vehicles, or adding images for custom vehicles
["radius"] = "https://docs.fivem.net/vehicles/radi.webp", -- Example of overriding image for specific vehicle
},
}
Config.Public = {
Options = {
Cost = {
Enable = true, -- If you want to public parkings to be free, set it to false
Cost = 500, -- Static cost, should pay whenever takeout vehicle
HourlyCost = 10, -- Hourly cost This would be calculated for each hour that car is in parking
},
Shared = true, -- set it to false if user can take car only from the parking he putted it in
},
Blip = {
Enable = true,
Label = "Parking",
Type = 357,
Color = 69
},
Peds = {
Enable = true,
Model = "a_m_y_business_02",
Scenario = "WORLD_HUMAN_CLIPBOARD",
},
Marker = {
Enable = true,
Size = vector3(5.0, 5.0, 10.5),
Type = 1,
Color = {r = 200, g = 51, b = 51},
},
Menu = {
Enable = true,
Marker = {
Size = vector3(5.0, 5.0, 10.5),
Type = 1,
Color = {r = 200, g = 51, b = 51},
},
},
Capacity = {
Enable = true, -- Should garages have maximum capacity ? (its per garage)
PerUser = true, -- Should this limit be per user, or total
Amount = 10
},
Interior = {
Enable = true, -- Should public garages have interior ?
},
Distance = 10, -- Required distance to show the marker
ParkDistance = 3, -- Required distance to show help text & pressing key
-- List of public garages
}
Config.Impounds = {
Jobs = { -- List of jobs that can impound vehicles
"police"
},
Command = "impound",
Peds = {
Enable = true,
Model = "S_M_M_JANITOR",
Scenario = "WORLD_HUMAN_CLIPBOARD",
},
Blip = {
Enable = true,
Label = "Impound",
Type = 50,
Color = 69
},
Due = {
Enable = true, -- If player does not pay the fine, the fine would be increased overtime
Amount = 100, -- Amount to increase the fine by
Time = 60 * 60, -- Time in seconds to increase the fine
},
List = {
{
Id = "CarImpound",
Name = "Car Impound",
Exit = vector4(417.0640, -1627.7075, 29.2919, 140.9281),
Ped = vector4(408.9122, -1622.8535, 29.2919, 221.2284),
Menu = vector3(1,1,1), -- set nil to disable
},
{
Id = "BoatImpound",
Name = "Boat Impound",
Exit = vector4(-800.6939, -1504.7681, -0.4748, 107.7727),
Ped = vector4(-807.6661, -1496.5919, 1.5952, 246.6220) ,
Menu = vector3(1,1,1),
},
{
Id = "PlaneImpound",
Name = "Plane Impound",
Exit = vector4(-1651.5916, -3145.6763, 13.9921, 323.2614),
Ped = vector4(-1655.3198, -3185.9338, 13.9912, 332.9867),
Menu = vector3(1,1,1),
}
},
DefaultImpoundData = {
officer = "Server",
fine = 500,
reason = "Automatic Parking Service"
}
}Last updated