QBCore

QBCore Framework Installation

Step 1

qb-core/shared/items.lua (New QBCore):

strike_weed_brick = { name = 'strike_weed_brick', label = 'Weed Block', weight = 100, type = 'item', image = 'strike_weed_brick.png', unique = false, useable = false, shouldClose = true, description = 'A tightly packed 1KG weed brick, perfect for high-stakes air drops to clandestine buyers.' },
strike_coke_brick = { name = 'strike_coke_brick', label = 'Coke Block', weight = 100, type = 'item', image = 'strike_coke_brick.png', unique = true, useable = true, shouldClose = true, description = 'A heavy cocaine brick, stashed for daring plane deliveries to shadowy underworld contacts.' },
strike_coke_small_brick = { name = 'strike_coke_small_brick', label = 'Small Coke Block', weight = 50, type = 'item', image = 'strike_coke_small_brick.png', unique = true, useable = true, shouldClose = true, description = 'A compact cocaine package, ideal for quick smuggling runs under enemy radar.' },
strike_meth_brick = { name = 'strike_meth_brick', label = 'Meth Brick', weight = 100, type = 'item', image = 'strike_meth_brick.png', unique = true, useable = true, shouldClose = true, description = 'A dense meth brick, ready for high-altitude deals with dangerous clients in remote airstrips.' },

qb-core/shared/items.lua (Old QBCore):

['strike_weed_brick']           = {['name'] = 'strike_weed_brick',          ['label'] = 'Weed Block',           ['weight'] = 100,             ['type'] = 'item',  ['image'] = 'strike_weed_brick.png',        ['unique'] = false, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A tightly packed 1KG weed brick, perfect for high-stakes air drops to clandestine buyers.'},
['strike_coke_brick']           = {['name'] = 'strike_coke_brick',          ['label'] = 'Coke Block',           ['weight'] = 100,             ['type'] = 'item',  ['image'] = 'strike_coke_brick.png',        ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A heavy cocaine brick, stashed for daring plane deliveries to shadowy underworld contacts.'},
['strike_coke_small_brick']     = {['name'] = 'strike_coke_small_brick',    ['label'] = 'Small Coke Block',     ['weight'] = 50,              ['type'] = 'item',  ['image'] = 'strike_coke_small_brick.png',  ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A compact cocaine package, ideal for quick smuggling runs under enemy radar.'},
['strike_meth_brick']           = {['name'] = 'strike_meth_brick',          ['label'] = 'Meth Brick',           ['weight'] = 100,             ['type'] = 'item',  ['image'] = 'strike_meth_brick.png',       ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A dense meth brick, ready for high-altitude deals with dangerous clients in remote airstrips.'},

Step 2

Drag all images from strike_airsmuggling into inventory/html/images

Step 3

Configure the important settings below at strike_airsmuggling/config.lua

Core = 'qb-core',                               -- 'qb-core' or 'esx'
Target = 'qb-target',                           -- 'qb-target' or 'ox_target'
Inventory = 'lj-inventory',                     -- Options: 'qb-inventory', 'lj-inventory', 'ox_inventory', 'ps-inventory', 'qs-inventory', 'core_inventory', 'codem-inventory'
TextUI = 'ox',                                  -- Options: 'ox', 'jg', 'qb', 'cd', 'lab', 'custom'
Notify = 'okok',                                -- Options: 'ox', 'mythic', 'old_mythic', 'pNotify', 'brutal', 'okok', 'sd', 'wasabi', 'qb', 'esx', 'custom'
FuelSystem = 'ox_fuel',                         -- Options: 'ox_fuel', 'LegacyFuel', 'custom'
StealingPlanes = true,                          -- Enable/disable "Steal Smuggling Plane" option, 1 of the 2 should be enabled
RentingPlanes = true,                           -- Enable/disable "Rent Smuggling Plane" option, 1 of the 2 should be enabled
CayoEnabled = true,                             -- Enable default Cayo Perico
LeaderboardLimit = 5,                           -- Number of top players to show in each leaderboard
XPPerEnemyKill = { min = 10, max = 20 },        -- XP awarded per enemy killed during the mission (between 10 and 25 for randomisation)
Debug = true,                                   -- Enable debug prints for bridge scripts

-- Resource names (can be customized if you have renamed the resource)
FrameworkResource = 'qb-core',       -- Default: 'qb-core' or 'es_extended'
TargetResource = 'qb-target',        -- Default: 'qb-target' or 'ox_target'
InventoryResource = 'qb-inventory',  -- Default: 'lj-inventory' or 'qb-inventory'

Step 4

Customize the remaining portions of the strike_airsmuggling/config.lua file as desired. We have provided an initial configuration for you.

Last updated