Skip to content

QB-Core

  • 120+ High-Quality Add-On Weapons
  • Complete Image Set for All Weapons
  • Easy Integration with QB-Core Framework
  1. Resource Setup:

    • Place vvsguns folder in your resources directory
    • Place ars_vvsguns script folder in your resources directory
    • Ensure both resources are started in your server.cfg
    • ⚠️ CRITICAL: ars_vvsguns must be running for the system to work
  2. Add Images:

    • Copy all 120+ weapon images to your inventory resource

Add the weapons item list to qb-core/shared/items.lua under the QBShared.Items section

Add the weapons data to qb-core/shared/weapons.lua under the QBShared.Weapons section

Add the recoil settings to qb-smallresources/client/weapdraw.lua under the local recoils section

Add durability multipliers to qb-weapons/config.lua under the Config.DurabilityMultiplier section

  • Do not copy the code block markers (```) when implementing the code
  • Follow all steps in order for proper functionality
  • Ensure all resources are started correctly in your server.cfg

STEP 1: Add Items to qb-core/shared/items.lua

Section titled “STEP 1: Add Items to qb-core/shared/items.lua”

Add the following items under QBShared.Items = {:

--vvsguns
weapon_9mmarpred = { name = 'weapon_9mmarpred', label = '9MM ARP RED VVS', weight = 6000, type = 'weapon', ammotype = 'AMMO_PISTOL', image = 'WEAPON_9MMARPRED.png', unique = true, useable = false, description = '9MM ARP RED VVS' },
weapon_9mmarpgreen = { name = 'weapon_9mmarpgreen', label = '9MM ARP GREEN VVS', weight = 5000, type = 'weapon', ammotype = 'AMMO_PISTOL', image = 'WEAPON_9MMARPGREEN.png', unique = true, useable = false, description = '9MM ARP GREEN VVS' },
-- Add the remaining item entries from your package here.

STEP 2: Add Weapons to qb-core/shared/weapons.lua

Section titled “STEP 2: Add Weapons to qb-core/shared/weapons.lua”

Add the following weapons under QBShared.Weapons = {:

--VVSGUNS
[`weapon_9mmarpred`] = { name = 'weapon_9mmarpred', label = '9MM ARP RED VVS', weapontype = 'Assault Rifle', ammotype = 'AMMO_RIFLE', damagereason = 'Ended / Rifled / Shot down / Floored' },
[`weapon_9mmarpgreen`] = { name = 'weapon_9mmarpgreen', label = '9MM ARP GREEN VVS', weapontype = 'Assault Rifle', ammotype = 'AMMO_RIFLE', damagereason = 'Ended / Rifled / Shot down / Floored' },
-- Add the remaining weapon entries from your package here.

STEP 3: Add Weapon Draw to qb-smallresources/client/weapdraw.lua

Section titled “STEP 3: Add Weapon Draw to qb-smallresources/client/weapdraw.lua”

Add the following weapons to the local recoils section:

'WEAPON_9MMARPRED',
'WEAPON_9MMARPGREEN',
'WEAPON_9MMARPBLUE',
-- Add the remaining weapon draw entries from your package here.

STEP 4: Add Durability to qb-weapons/config.lua

Section titled “STEP 4: Add Durability to qb-weapons/config.lua”

Add the following durability multipliers under Config.DurabilityMultiplier = {:

-- VVSGUNS
weapon_9mmarpred = 0.15,
weapon_9mmarpgreen = 0.15,
weapon_9mmarpblue = 0.15,
-- Add the remaining durability entries from your package here.
  • When copying code, do not include the ``` marks; they are for demonstration purposes only.
  • Ensure that the script is correctly initiated.
  • Follow all steps carefully to ensure proper functionality.