βš™οΈConfiguration

Here's a preview of all the config files of the script

config.lua
Config = {}

--- [[ Markhor Bridge ]] ---
--- [[ Markhor Bridge ]] ---


--- This resource depends on Markhor Bridge.
--- With Markhor Bridge, all necessary settings (such as framework, inventory, interact, etc.) are automatically set.
--- You don't have to do anything except install Markhor Bridge.


--- [[ Markhor Bridge ]] ---
--- [[ Markhor Bridge ]] ---

Config.language = "EN" -- Choose Language -> "EN" / "NL".
Config.drawMissionText = true -- As soon as the text at the bottom of the screen is not displayed, set it to false. (recommended: true)
Config.scaleText = 0.5 -- Use this option once "Config.drawMissionText" is set to false. This allows you to scale the text.

-- if Config.framework == 'ESX' then
--     Config.ESX = exports["es_extended"]:getSharedObject() -- Change this to your own ESX object.
--     Config.esxmenuAlign = 'right' -- Alignment of the menu to select a track.
-- elseif Config.framework == 'QBCORE' then
--     Config.QBCORE = exports["qb-core"]:GetCoreObject() -- Change this to your own QBCore object.
--     Config.qbMenu = 'qb-menu' -- QBCore menu event
-- end

-- The jobs in Config.whitelistJobs are whitelisted to open the menu.
Config.whitelistJobs = {
    'mechanic'
}

-- To open the menu from your own script, use the event below.
-- This event checks for the correct job and whether the player is in a vehicle.
-- It is a client sided event with no arguments required.
-- >> TriggerClientEvent('mh_parts:openMenu', source) << -- Use this event in a server file.
-- >> TriggerEvent('mh_parts:openMenu') << -- Use this event in a client file.

Last updated