1
0
Fork 0
forked from Simnation/Main

Update config.lua

This commit is contained in:
Nordi98 2025-06-24 22:46:46 +02:00
parent 6f94b0135c
commit 4b173c7708

View file

@ -2,7 +2,7 @@ Config = Config or {}
-- For more info check: https://mt-scripts-documentations.gitbook.io/mt-script-documentation/ -- For more info check: https://mt-scripts-documentations.gitbook.io/mt-script-documentation/
Config.debug = false -- if true it'll print some debug on F8/console and active all zones debug Config.debug = true -- if true it'll print some debug on F8/console and active all zones debug
Config.framework = 'qb' -- qb, qbx, esx (need to change the export on the Config.core) Config.framework = 'qb' -- qb, qbx, esx (need to change the export on the Config.core)
Config.core = exports['qb-core']:GetCoreObject() -- Your core export (for qb is exports['qb-core']:GetCoreObject()) (for esx is exports.es_extended:getSharedObject()) (for qbx you can just delete this line and add '@qbx_core/modules/playerdata.lua', to the fxmanifest.lua client_scripts) Config.core = exports['qb-core']:GetCoreObject() -- Your core export (for qb is exports['qb-core']:GetCoreObject()) (for esx is exports.es_extended:getSharedObject()) (for qbx you can just delete this line and add '@qbx_core/modules/playerdata.lua', to the fxmanifest.lua client_scripts)
Config.target = 'qb-target' -- ox_target, qb-target, interact, ... Config.target = 'qb-target' -- ox_target, qb-target, interact, ...