resources/[carscripts]/lc_utils/config.lua aktualisiert

This commit is contained in:
Nordi 2025-06-16 23:56:51 +02:00
parent 995bcd0332
commit 0c79f74148

View file

@ -1,82 +1,82 @@
Config = Config or {} Config = Config or {}
Config.framework = "QBCore" -- [ESX|QBCore] Your framework Config.framework = "QBCore" -- [ESX|QBCore] Your framework
Config.ESX_settings = { -- (ESX Only) ESX settings Config.ESX_settings = { -- (ESX Only) ESX settings
['is_updated'] = true, -- Set to false if your ESX uses the getSharedObject event (usually for ESX versions older than 1.9.0) ['is_updated'] = true, -- Set to false if your ESX uses the getSharedObject event (usually for ESX versions older than 1.9.0)
['shared_object'] = "esx:getSharedObject", -- GetSharedObject event if you set 'is_updated' config to false ['shared_object'] = "esx:getSharedObject", -- GetSharedObject event if you set 'is_updated' config to false
['esx_version'] = 'weight' -- [weight|limit] Configure here if your inventory uses weight or limit ['esx_version'] = 'weight' -- [weight|limit] Configure here if your inventory uses weight or limit
} }
Config.locale = "de" -- Set the file language [en/br/de/es/fr/no/fr/zh-cn/ja] Config.locale = "de" -- Set the file language [en/br/de/es/fr/no/fr/zh-cn/ja]
Config.format = { Config.format = {
['currency'] = 'USD', -- This is the currency format, so that your currency symbol appears correctly [Examples: BRL, USD, EUR] (Currency codes: https://taxsummaries.pwc.com/glossary/currency-codes) ['currency'] = 'USD', -- This is the currency format, so that your currency symbol appears correctly [Examples: BRL, USD, EUR] (Currency codes: https://taxsummaries.pwc.com/glossary/currency-codes)
['location'] = 'en-US' -- This is the location of your country, to format the decimal places according to your standard [Examples: pt-BR, en-US] (Language codes: http://www.lingoes.net/en/translator/langcode.htm) ['location'] = 'en-US' -- This is the location of your country, to format the decimal places according to your standard [Examples: pt-BR, en-US] (Language codes: http://www.lingoes.net/en/translator/langcode.htm)
} }
-- Here, you can easily switch between the available script compatibilities. -- Here, you can easily switch between the available script compatibilities.
-- The "default" option will use the framework's default script -- The "default" option will use the framework's default script
-- ATTENTION: If you set it to "other," it's necessary to configure the script inside the custom_scripts folder in the respective file. See: https://docs.lixeirocharmoso.com/utils/adding_your_exports -- ATTENTION: If you set it to "other," it's necessary to configure the script inside the custom_scripts folder in the respective file. See: https://docs.lixeirocharmoso.com/utils/adding_your_exports
Config.custom_scripts_compatibility = { Config.custom_scripts_compatibility = {
['fuel'] = "lc_fuel", -- [lc_fuel|ox_fuel|ti_fuel|ps-fuel|sna-fuel|cdn-fuel|LegacyFuel|okokGasStation|default|other] Fuel script Compatibility ['fuel'] = "lc_fuel", -- [lc_fuel|ox_fuel|ti_fuel|ps-fuel|sna-fuel|cdn-fuel|LegacyFuel|okokGasStation|default|other] Fuel script Compatibility
['inventory'] = "default", -- [ox_inventory|qs-inventory|ps-inventory|tgiann-inventory|default|other] Inventory script Compatibility ['inventory'] = "default", -- [ox_inventory|qs-inventory|ps-inventory|tgiann-inventory|default|other] Inventory script Compatibility
['keys'] = "default", -- [qs-vehiclekeys|cd_garage|jaksam|wasabi_carlock|MrNewbVehicleKeys|tgiann-hotwire|Renewed|default|other] Keys script Compatibility ['keys'] = "default", -- [qs-vehiclekeys|cd_garage|jaksam|wasabi_carlock|MrNewbVehicleKeys|tgiann-hotwire|Renewed|default|other] Keys script Compatibility
['mdt'] = "default", -- [ps-mdt|redutzu-mdt|lb-tablet|default|other] MDT script Compatibility (to log weapon serial) ['mdt'] = "default", -- [ps-mdt|redutzu-mdt|lb-tablet|default|other] MDT script Compatibility (to log weapon serial)
['target'] = "qb-target", -- [qb-target|ox_target|disabled|other] Target script Compatibility (disabled will use markers) ['target'] = "disabled", -- [qb-target|ox_target|disabled|other] Target script Compatibility (disabled will use markers)
['notification'] = "ox_lib", -- [okokNotify|qbcore|ox_lib|default|other] Notification script Compatibility ['notification'] = "ox_lib", -- [okokNotify|qbcore|ox_lib|default|other] Notification script Compatibility
} }
Config.notification = { -- (Only if notification is default) Config.notification = { -- (Only if notification is default)
['has_title'] = false, -- Select if you want the notification to have a title or not ['has_title'] = false, -- Select if you want the notification to have a title or not
['position'] = "top-right", -- [top-left|top-center|top-right|middle-left|middle-right|bottom-left|bottom-center|bottom-right] Position of the notification on the screen ['position'] = "top-right", -- [top-left|top-center|top-right|middle-left|middle-right|bottom-left|bottom-center|bottom-right] Position of the notification on the screen
['duration'] = 8000, -- Time (in ms) the notifications will be shown ['duration'] = 8000, -- Time (in ms) the notifications will be shown
} }
Config.marker_style = 1 -- (Only if target is disabled) [1|2] There are 2 available styles for markers, choose them here Config.marker_style = 1 -- (Only if target is disabled) [1|2] There are 2 available styles for markers, choose them here
Config.spawned_vehicles = { -- Config for the vehicles that are spawned in each script Config.spawned_vehicles = { -- Config for the vehicles that are spawned in each script
['lc_truck_logistics'] = { -- The script affected by the config (dont change) ['lc_truck_logistics'] = { -- The script affected by the config (dont change)
['is_static'] = false, -- false: The plate will be dynamically generated based on the prefix (ex. "TRUCK123"), filling up to 8 characters after the prefix | true: The plate will be exactly as you set in the plate prefix, with no extra numbers added (ex. "TRUCK") ['is_static'] = false, -- false: The plate will be dynamically generated based on the prefix (ex. "TRUCK123"), filling up to 8 characters after the prefix | true: The plate will be exactly as you set in the plate prefix, with no extra numbers added (ex. "TRUCK")
['plate_prefix'] = "TR" -- Customize the prefix for the plate text here (a vehicle plate can hold a max of 8 characters) ['plate_prefix'] = "TR" -- Customize the prefix for the plate text here (a vehicle plate can hold a max of 8 characters)
}, },
['lc_stores'] = { ['lc_stores'] = {
['is_static'] = false, ['is_static'] = false,
['plate_prefix'] = "ST" ['plate_prefix'] = "ST"
}, },
['lc_gas_stations'] = { ['lc_gas_stations'] = {
['is_static'] = false, ['is_static'] = false,
['plate_prefix'] = "GS" ['plate_prefix'] = "GS"
}, },
['lc_dealership'] = { ['lc_dealership'] = {
['is_static'] = false, ['is_static'] = false,
['plate_prefix'] = "DE" ['plate_prefix'] = "DE"
}, },
['lc_factories'] = { ['lc_factories'] = {
['is_static'] = false, ['is_static'] = false,
['plate_prefix'] = "FA" ['plate_prefix'] = "FA"
}, },
['lc_fishing_simulator'] = { ['lc_fishing_simulator'] = {
['is_static'] = false, ['is_static'] = false,
['plate_prefix'] = "FS" ['plate_prefix'] = "FS"
} }
} }
Config.owned_vehicles = { -- (Only for the vehicles that will be inserted into your garage) This is the config to insert a vehicle in the player owned vehicles table Config.owned_vehicles = { -- (Only for the vehicles that will be inserted into your garage) This is the config to insert a vehicle in the player owned vehicles table
['plate_format'] = 'xxxxxxxx', -- Plate generation format. [n = number | l = letter | x = any] ['plate_format'] = 'xxxxxxxx', -- Plate generation format. [n = number | l = letter | x = any]
['default'] = { -- The garage type ['default'] = { -- The garage type
['garage'] = 'motelgarage', -- This is the garage where the owned vehicles will be inserted ['garage'] = 'motelgarage', -- This is the garage where the owned vehicles will be inserted
-- ['garage'] = 'SanAndreasAvenue', -- Default garage for ESX framework -- ['garage'] = 'SanAndreasAvenue', -- Default garage for ESX framework
['garage_display_name'] = 'Motel Parking' -- Just a nice name to display to the user ['garage_display_name'] = 'Motel Parking' -- Just a nice name to display to the user
}, },
['airplane'] = { ['airplane'] = {
['garage'] = 'intairport', ['garage'] = 'intairport',
['garage_display_name'] = 'Airport Hangar' ['garage_display_name'] = 'Airport Hangar'
}, },
['boat'] = { ['boat'] = {
['garage'] = 'lsymc', ['garage'] = 'lsymc',
['garage_display_name'] = 'LSYMC Boathouse' ['garage_display_name'] = 'LSYMC Boathouse'
} }
} }
Config.debug_job = false -- Enable this to see in the server console the job you are in Config.debug_job = false -- Enable this to see in the server console the job you are in