Weapon Repair Function + Item

Weapon Repair Function + Item Weapon Repair Function + Item Weapon Repair Function + Item
  • Weapon Repair Function + Item
  • Weapon Repair Function + Item
  • Weapon Repair Function + Item

$1.99

Add to Basket

Repair damaged weapons in the field using immersive animations and full qb-weapons integration.

πŸ“Œ Overview
DH Weapon Repair is a lightweight, immersive weapon repair system designed for QBCore servers using qb-weapons. It allows players to repair the weapon they are currently holding by using a weapon repair kit item, restoring weapon durability back to a configured maximum value. The system is designed to be reliable, compatible, and performance-safe β€” correctly detecting equipped weapons even in edge cases where weapon data is missing, and applying durability changes directly through qb-weapons server logic.

This is NOT a gimmick or partial repair script. DH Weapon Repair was built with:
βœ” Accurate equipped-weapon detection
βœ” Full qb-weapons durability integration
βœ” Immersive repair animations
βœ” Clean item consumption logic
βœ” Clear user feedback
βœ” Ultra-lightweight design

Perfect for RP servers, survival servers, PvP balance, black markets, or any economy where weapon condition matters.

✨ Key Features
βœ” Repair Equipped Weapon: Repairs the weapon the player is currently holding
βœ” qb-weapons Integration: Uses `qb-weapons:server:SetWeaponQuality` to safely restore durability.
βœ” Edge-Case Safe Detection: Detects the equipped weapon even if CurrentWeaponData is nil.
βœ” Configurable Repair Time: Set how long the repair animation takes.
βœ” Immersive Animation: Plays a configurable mechanic-style repair animation.
βœ” Item-Based Repair: Consumes one weapon repair kit per use.
βœ” Compatibility-Friendly: Works with all weapons registered in `QBCore.Shared.Weapons`, including custom weapons.
βœ” Ultra Lightweight: No loops, no background processing, no performance impact.

πŸ”’ For License Owners
You are allowed to:
βœ” Edit, customize, and expand the script
βœ” Modify client/server logic for your server’s needs

You may NOT:
✘ Resell, redistribute, or repackage this script
✘ Share the script files with others
✘ Upload the script to GitHub or other repositories
✘ Sell modified versions
✘ Claim authorship of this script