Installation

  1. Download fusing-shops.pack.zip from your Cfx.re account (Portal → Assets / Granted Assets).
  2. Unzip it and rename the folder from fusing-shops.pack to fusing-shops.
  3. Keep every file in it, including the .fxap file.
  4. Add ensure fusing-shops to server.cfg after your framework and the requirements.

Start it after your inventory:

ensure fusing-inventory
ensure fusing-shops

QBCore

Remove ensure qb-shops, or every shop gets two clerks.

ESX

Stop esx_shops and esx_weaponshop, or every shop opens twice. The weapon licence needs esx_license.

On start, the weapon licence item, the licence type in esx_license and the ammunition box items are added to the database if they are missing. Restart the server once afterwards so ESX loads them.

Weapon licence item

Only needed if Config.RequireWeaponLicence is on. On QBCore, add this to qb-core/shared/items.lua (also in install/items.lua):

['firearm_licence'] = { name = 'firearm_licence', label = 'Weapon Licence', weight = 0, type = 'item', image = 'firearm_licence.png', unique = true, useable = true, shouldClose = true, description = 'Permission to buy a firearm.' },

Checking the licence at the till needs fusing-inventory. With another inventory, gun shops sell to anyone.