Installation

DEPENDENCIES

REQUIRED DEPENDENCIES

OPTIONAL DEPENDENCIES

ResourceDownload

Mapping

Map4all (Also available in subscription)

RESOURCE INSTALLATION GUIDE

1) RESOURCE DOWNLOAD

Download your resource from FiveM's Keymaster.

2) RESOURCE POSITIONING

You need to make sure that apex_lib is always started before any of our scripts!

ensure apex_lib
ensure [apex] -- or ensure apex_weaponmanufacturer

3) ASSET ADDING

  1. Open apex_weaponmanufacturer > assets > inventory_images

  2. Copy files from the folder and add them into your inventory image folder

4) ITEM ADDING (QBCORE & ESX)

['weapon_case']                     = {['name'] = 'weapon_case',                    ['label'] = 'Weapon Case',               ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_case.png',                    ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Case for something'}, 
['weapon_blueprint_pistol']         = {['name'] = 'weapon_blueprint_pistol',        ['label'] = 'Pistol Blueprint',          ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_pistol.png',        ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_snspistol']      = {['name'] = 'weapon_blueprint_snspistol',     ['label'] = 'SNS Pistol Blueprint',      ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_snspistol.png',     ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_vintagepistol']  = {['name'] = 'weapon_blueprint_vintagepistol', ['label'] = 'Vintage Pistol Blueprint',  ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_vintagepistol.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_appistol']       = {['name'] = 'weapon_blueprint_appistol',      ['label'] = 'AP Pistol Blueprint',       ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_appistol.png',      ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_pistol50']       = {['name'] = 'weapon_blueprint_pistol50',      ['label'] = 'Pistol 50 Blueprint',       ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_pistol50.png',      ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_heavypistol']    = {['name'] = 'weapon_blueprint_heavypistol',   ['label'] = 'Heavy Pistol Blueprint',    ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_heavypistol.png',   ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_microsmg']       = {['name'] = 'weapon_blueprint_microsmg',      ['label'] = 'Micro SMG Blueprint',       ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_microsmg.png',      ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_minismg']        = {['name'] = 'weapon_blueprint_minismg',       ['label'] = 'Mini SMG Blueprint',        ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_minismg.png',       ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_sawnoffshotgun'] = {['name'] = 'weapon_blueprint_sawnoffshotgun',['label'] = 'Sawnoff Shotgun Blueprint', ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_sawnoffshotgun.png',['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['weapon_blueprint_assaultrifle']   = {['name'] = 'weapon_blueprint_assaultrifle',  ['label'] = 'Assault Rifle Blueprint',   ['weight'] = 30, ['type'] = 'item', ['image'] = 'weapon_blueprint_assaultrifle.png',  ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A blueprint?'}, 
['pistol_frame']                    = {['name'] = 'pistol_frame',                   ['label'] = 'Pistol Frame',              ['weight'] = 30, ['type'] = 'item', ['image'] = 'pistol_frame.png',                   ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['snspistol_frame']                 = {['name'] = 'snspistol_frame',                ['label'] = 'SNS Pistol Frame',          ['weight'] = 30, ['type'] = 'item', ['image'] = 'snspistol_frame.png',                ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['vintagepistol_frame']             = {['name'] = 'vintagepistol_frame',            ['label'] = 'Vintage Pistol Frame',      ['weight'] = 30, ['type'] = 'item', ['image'] = 'vintagepistol_frame.png',            ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['appistol_frame']                  = {['name'] = 'appistol_frame',                 ['label'] = 'AP Pistol Frame',           ['weight'] = 30, ['type'] = 'item', ['image'] = 'appistol_frame.png',                 ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['pistol50_frame']                  = {['name'] = 'pistol50_frame',                 ['label'] = 'Pistol 50 Frame',           ['weight'] = 30, ['type'] = 'item', ['image'] = 'pistol50_frame.png',                 ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['heavypistol_frame']               = {['name'] = 'heavypistol_frame',              ['label'] = 'Heavy Pistol Frame',        ['weight'] = 30, ['type'] = 'item', ['image'] = 'heavypistol_frame.png',              ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['microsmg_frame']                  = {['name'] = 'microsmg_frame',                 ['label'] = 'Micro SMG Frame',           ['weight'] = 30, ['type'] = 'item', ['image'] = 'microsmg_frame.png',                 ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['minismg_frame']                   = {['name'] = 'minismg_frame',                  ['label'] = 'Mini SMG Frame',            ['weight'] = 30, ['type'] = 'item', ['image'] = 'minismg_frame.png',                  ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['sawnoffshotgun_frame']            = {['name'] = 'sawnoffshotgun_frame',           ['label'] = 'Sawnoff Shotgun Frame',     ['weight'] = 30, ['type'] = 'item', ['image'] = 'sawnoffshotgun_frame.png',           ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['assaultrifle_frame']              = {['name'] = 'assaultrifle_frame',             ['label'] = 'Assault Rifle Frame',       ['weight'] = 30, ['type'] = 'item', ['image'] = 'assaultrifle_frame.png',             ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'A frame?'}, 
['brass']                           = {['name'] = 'brass',                          ['label'] = 'Brass',                     ['weight'] = 30, ['type'] = 'item', ['image'] = 'brass.png',                          ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Crafting Material'}, 
['gunpowder']                       = {['name'] = 'gunpowder',                      ['label'] = 'Gunpowder',                 ['weight'] = 30, ['type'] = 'item', ['image'] = 'gunpowder.png',                      ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Powder?'}, 
['pistol']                          = {['name'] = 'pistol',                         ['label'] = 'Pistol Model',              ['weight'] = 30, ['type'] = 'item', ['image'] = 'pistol.png',                         ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['snspistol']                       = {['name'] = 'snspistol',                      ['label'] = 'SNS Pistol Model',          ['weight'] = 30, ['type'] = 'item', ['image'] = 'snspistol.png',                      ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['vintagepistol']                   = {['name'] = 'vintagepistol',                  ['label'] = 'Vintage Pistol Model',      ['weight'] = 30, ['type'] = 'item', ['image'] = 'vintagepistol.png',                  ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['appistol']                        = {['name'] = 'appistol',                       ['label'] = 'AP Pistol Model',           ['weight'] = 30, ['type'] = 'item', ['image'] = 'appistol.png',                       ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['pistol50']                        = {['name'] = 'pistol50',                       ['label'] = 'Pistol 50 Model',           ['weight'] = 30, ['type'] = 'item', ['image'] = 'pistol50.png',                       ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['heavypistol']                     = {['name'] = 'heavypistol',                    ['label'] = 'Heavy Pistol Model',        ['weight'] = 30, ['type'] = 'item', ['image'] = 'heavypistol.png',                    ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['microsmg']                        = {['name'] = 'microsmg',                       ['label'] = 'Micro SMG Model',           ['weight'] = 30, ['type'] = 'item', ['image'] = 'microsmg.png',                       ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['minismg']                         = {['name'] = 'minismg',                        ['label'] = 'Mini SMG Model',            ['weight'] = 30, ['type'] = 'item', ['image'] = 'minismg.png',                        ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['sawnoffshotgun']                  = {['name'] = 'sawnoffshotgun',                 ['label'] = 'Sawnoff Shotgun Model',     ['weight'] = 30, ['type'] = 'item', ['image'] = 'sawnoffshotgun.png',                 ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'}, 
['assaultrifle']                    = {['name'] = 'assaultrifle',                   ['label'] = 'Assault Rifle Model',       ['weight'] = 30, ['type'] = 'item', ['image'] = 'assaultrifle.png',                   ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil,   ['description'] = 'Nice Model?'},

5) JOB ADDING

['weaponmaker'] = {
    label = 'Weapon Maker',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = {
            name = 'Maker',
            payment = 0
        },
    },
},

Last updated