91 lines
2.7 KiB
Lua
91 lines
2.7 KiB
Lua
Config = {}
|
|
|
|
Config.CheckDistance = 11 -- Distance to check for nearby trailers
|
|
Config.InteractDistance = 3.0 -- Distance from point control works
|
|
|
|
Config.TrailerModel = 'justiceopt'
|
|
Config.TrailerModel2 = 'Jtrailer'
|
|
Config.TrailerModel3 = 'legacytrailer'
|
|
|
|
Config.Vehicles = {
|
|
`justicegator`,
|
|
`justice1`,
|
|
`justice2`,
|
|
`justice3`,
|
|
`justice4`,
|
|
`justice5`,
|
|
`justice6`,
|
|
`justice7`,
|
|
`justice8`,
|
|
`justice9`,
|
|
`justice10`,
|
|
`justice11`,
|
|
`justice12`,
|
|
`justice13`,
|
|
`justice14`,
|
|
`justice15`,
|
|
`justice16`,
|
|
`justice17`,
|
|
`justice1slick`,
|
|
`justice2slick`,
|
|
`justice3slick`,
|
|
`justice4slick`,
|
|
`justice5slick`,
|
|
`justice6slick`,
|
|
`justice7slick`,
|
|
`justice8slick`,
|
|
`justice9slick`,
|
|
`justice10slick`,
|
|
`justice11slick`,
|
|
`justice12slick`,
|
|
`justice13slick`,
|
|
`justice14slick`,
|
|
`justice15slick`,
|
|
`justice16slick`,
|
|
`justice17slick`,
|
|
}
|
|
|
|
Config.rampInstant = false -- Instantly open/close ramp. Enable if ramps won't close
|
|
|
|
Config.AttachNotify = true -- Enable notifications
|
|
Config.NotiLoadMessage = 'Vehicle Loaded'
|
|
Config.NotiUnLoadMessage = 'Vehicle Unloaded'
|
|
|
|
Config.Controlmessages = {
|
|
RampInteract = " to interact with the ramp",
|
|
AttachVehicle = " to Attach/Detach vehicle"
|
|
}
|
|
Config.Sounds = {
|
|
on = {dict = "OOB_Cancel", sound = "GTAO_FM_Events_Soundset"},
|
|
off = {dict = "OOB_Start", sound = "GTAO_FM_Events_Soundset"},
|
|
alloff = {dict = "Bomb_Disarmed", sound = "GTAO_Speed_Convoy_Soundset"}
|
|
}
|
|
|
|
--========Markers & Prompts=======--
|
|
--Increases tick rate from 0.01 to 0.08 - 0.1 when in range
|
|
Config.WaitTimer = 3000 -- Update rate to check for nearby trailer seconds * 1000 (Default 3000)
|
|
Config.ShowMarkers = true -- Display markers at interaction points
|
|
Config.ShowHelp = true -- Display help prompts
|
|
Config.MessageDistance = 2.0 -- Distance from point to display message (Default 2.0)
|
|
Config.Marker = {
|
|
type = 1, -- marker shape: https://docs.fivem.net/docs/game-references/markers/ (Default 27)
|
|
|
|
Size = 1.0, -- marker size (Default 2.0)
|
|
|
|
Color = { -- RGBA color
|
|
red = 100,
|
|
green = 200,
|
|
blue = 200,
|
|
alpha = 150
|
|
},
|
|
heightOffset = 0.0, -- Height from ground for marker. Marker at ground Z (Default 0.0)
|
|
Bob = false, -- Marker bobbing up and down (Default false)
|
|
faceCamera = false, -- Marker always faces camera (Default false)
|
|
rotate = false -- Marker rotates (Default false)
|
|
}
|
|
Config.Controlmessages = {
|
|
RampInteract = " to interact with the ramp",
|
|
AttachVehicle = " to Attach/Detach vehicle"
|
|
}
|
|
|