QB-Core
🔫 Features
Section titled “🔫 Features”- 120+ High-Quality Add-On Weapons
- Complete Image Set for All Weapons
- Easy Integration with QB-Core Framework
📋 Installation Guide
Section titled “📋 Installation Guide”-
Resource Setup:
- Place
vvsgunsfolder in yourresourcesdirectory - Place
ars_vvsgunsscript folder in yourresourcesdirectory - Ensure both resources are started in your server.cfg
- ⚠️ CRITICAL:
ars_vvsgunsmust be running for the system to work
- Place
-
Add Images:
- Copy all 120+ weapon images to your inventory resource
🛠️ Configuration Steps
Section titled “🛠️ Configuration Steps”Step 1: Items Configuration
Section titled “Step 1: Items Configuration”Add the weapons item list to qb-core/shared/items.lua under the QBShared.Items section
Step 2: Weapons Registration
Section titled “Step 2: Weapons Registration”Add the weapons data to qb-core/shared/weapons.lua under the QBShared.Weapons section
Step 3: Weapon Draw Configuration
Section titled “Step 3: Weapon Draw Configuration”Add the recoil settings to qb-smallresources/client/weapdraw.lua under the local recoils section
Step 4: Durability Settings
Section titled “Step 4: Durability Settings”Add durability multipliers to qb-weapons/config.lua under the Config.DurabilityMultiplier section
⚠️ Important Notes
Section titled “⚠️ Important Notes”- 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
Configuration Files
Section titled “Configuration Files”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 = {:
--vvsgunsweapon_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 = {:
-- VVSGUNSweapon_9mmarpred = 0.15,weapon_9mmarpgreen = 0.15,weapon_9mmarpblue = 0.15,-- Add the remaining durability entries from your package here.Important Notes
Section titled “Important Notes”- 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.