Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.debug = false
- --- If you're testing the script and editing the values DO NOT simply restart the script. As this script is using custom models (dynos)
- --- it will crash if you just restart it. Instead use the `/kq_dyno_restart` command. It will safely restart the script without causing you to crash
- --- SETTINGS FOR ESX
- Config.esxSettings = {
- enabled = true,
- -- Whether or not to use the new ESX export method
- useNewESXExport = true,
- }
- --- SETTINGS FOR QBCORE
- Config.qbSettings = {
- enabled = false,
- }
- --- BASIC
- -- Torque units | 'nm' or 'lb-ft'
- Config.torqueUnits = 'nm'
- --- FRAMEWORK OPTIONS (MAKE SURE TO ENABLE YOUR FRAMEWORK IF USING ONE) <!>
- Config.jobWhitelist = {
- enabled = true,
- jobs = {
- 'mechanic',
- 'bennys',
- }
- }
- -- Discord webhook options
- Config.webhook = {
- enabled = true, -- Whether to send the dyno sheets to the discord webhook
- -- To get the Discord webhook link, right click on a channel > Edit channel > Integrations > Webhooks > View webhooks > New webhook
- url = 'YOUR_WEBHOOK_URL_HERE',
- -- Replace this with the name of your server or a title you want on your dyno sheets
- title = 'KuzQuality - DynoTech',
- -- Whether to include certain parts of the users info in the webhook messages
- includeUserName = true,
- includeSteamId = true,
- }
- -- Time it takes for the screens to turn off after a dyno run (in seconds)
- Config.screenTimeout = 30
- -- Whether to display the dyno sheet on the screen as UI
- Config.displaySheetOnScreen = true
- -- Dynos setup
- -- coords = vector3 of the dyno location
- -- heading = heading of the dyno
- -- model = model defined in Config.dynoModels (By leaving this out, you will create a dyno without a model. Useful for MLOs with built-in dynos)
- -- displays = table of displays
- -- displayCoords = vector3 of the display location
- -- displayHeading = heading of the display
- -- displayType = display defined in Config.displayTypes
- -- jobs = Table of jobs which are allowed to use the dyno (false or nil to allow everyone to use it)
- Config.dynos = {
- ['bennys'] = {
- coords = vector3(-214.28, -1318.14, 30.9),
- heading = 180.0,
- model = 'default_purple',
- displays = {
- {
- displayCoords = vector3(-217.4, -1318.92, 32.55),
- displayHeading = 90.0,
- displayType = 'wall_tv_2',
- },
- {
- displayCoords = vector3(-211.5, -1320.6, 30.89),
- displayHeading = 250.0,
- displayType = 'stand',
- }
- },
- jobs = nil,
- },
- ['lsc_harmony'] = {
- coords = vector3(1182.66, 2636.5, 37.78),
- heading = 0.0,
- model = 'default_blue',
- displays = {
- {
- displayCoords = vector3(1182.66, 2634.6, 39.3),
- displayHeading = 180.0,
- displayType = 'wall_tv',
- },
- },
- jobs = nil,
- },
- ['lsc_airport'] = {
- coords = vector3(-1164.45, -2018.8, 13.18),
- heading = 315.0,
- model = 'default_red',
- displays = {
- {
- displayCoords = vector3(-1164.3, -2014.53, 14.13),
- displayHeading = 45.0,
- displayType = 'wall_tv',
- },
- },
- jobs = nil,
- },
- ['import_export_garage'] = {
- coords = vector3(980.2, -3002.11, -39.65),
- heading = 90.0,
- model = 'default_blue',
- displays = {
- {
- displayCoords = vector3(978.5, -2999.35, -39.62),
- displayHeading = 0.0,
- displayType = 'stand',
- },
- },
- jobs = nil,
- },
- --['no_model_liberty_walk_mlo'] = {
- -- coords = vector3(1148.40, -792.69, 57.5),
- -- heading = 90.0,
- --
- -- displays = {
- -- {
- -- displayCoords = vector3(1148.29, -795.0, 58.35),
- -- displayHeading = 190.0,
- -- displayType = 'monitor',
- -- },
- -- },
- --
- -- jobs = nil,
- --},
- }
- -- This is just used to fill the default dynos with their rollers
- Config.baseRollers = {
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(0.18, 0.6, -0.08),
- direction = -1,
- side = 1,
- },
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(-0.18, 0.6, -0.08),
- direction = -1,
- side = 1,
- },
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(0.18, -1.18, -0.08),
- direction = -1,
- side = 2,
- },
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(-0.18, -1.18, -0.08),
- direction = -1,
- side = 2,
- },
- }
- -- Dyno models
- Config.dynoModels = {
- ['default_yellow'] = {
- base = 'kq_dyno2_yellow',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, -0.04),
- rollers = Config.baseRollers,
- },
- ['default_red'] = {
- base = 'kq_dyno2_red',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, -0.04),
- rollers = Config.baseRollers,
- },
- ['default_purple'] = {
- base = 'kq_dyno2_purple',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, -0.04),
- rollers = Config.baseRollers,
- },
- ['default_green'] = {
- base = 'kq_dyno2_green',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, -0.04),
- rollers = Config.baseRollers,
- },
- ['default_gray'] = {
- base = 'kq_dyno2_gray',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, -0.04),
- rollers = Config.baseRollers,
- },
- ['default_blue'] = {
- base = 'kq_dyno2_blue',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, -0.04),
- rollers = Config.baseRollers,
- },
- ['basic'] = {
- base = 'kq_dyno',
- textureVariation = 0,
- heading = -90.0,
- offset = vector3(0.0, 0.0, 0.0),
- rollers = {
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(0.18, 0.9, -0.08),
- direction = -1,
- side = 1,
- },
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(-0.18, 0.9, -0.08),
- direction = -1,
- side = 1,
- },
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(0.18, -0.9, -0.08),
- direction = -1,
- side = 2,
- },
- {
- prop = 'kq_dyno_roller',
- rotation = vector3(0.0, 90.0, 0.0),
- offset = vector3(-0.18, -0.9, -0.08),
- direction = -1,
- side = 2,
- },
- }
- },
- }
- -- Display types
- -- prop = prop of the display
- -- offset = offset of the display (texture, not the prop)
- -- heading = heading of the display (texture, not the prop)
- -- size = size of the display
- Config.displayTypes = {
- ['stand'] = {
- prop = 'prop_cs_tv_stand',
- offset = vector3(0.529, -0.08, 1.01),
- heading = 180.0,
- size = vector2(1.098, 0.54),
- },
- ['monitor'] = {
- prop = 'prop_tv_flat_03',
- offset = vector3(0.35, -0.01, 0.025),
- heading = 180.0,
- size = vector2(0.7, 0.4),
- },
- ['wall_tv'] = {
- prop = 'prop_tv_flat_01',
- offset = vector3(1.07, -0.06, -0.12),
- heading = 180.0,
- size = vector2(2.14, 1.2),
- },
- ['wall_tv_2'] = {
- prop = 'xm_prop_x17_tv_flat_01',
- offset = vector3(0.798, -0.046, 0.152),
- heading = 180.0,
- size = vector2(1.5, 0.832),
- },
- }
- -- https://docs.fivem.net/docs/game-references/controls/
- -- Use the input index for the "input" value
- Config.keybinds = {
- start = {
- label = 'E',
- name = 'INPUT_PICKUP',
- input = 38,
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement