QBCore | Advanced Weapon Reload System with Attachment Support

QBCore | Advanced Weapon Reload System with Attachment Support

Key Features:

Configurable Attachments:

  • Supports both clip and drum attachments.

  • Automatically adjusts weapon’s max ammo based on equipped attachments (e.g., +10 for clip, +30 for drum).

  • You can change the values at Config.DrumAttachments = { and Config.ClipAttachments = {

Ammo

  • This will not use ammo as item. You just need the right ammo for your gun, and by pressing R, it will reload.
  • It will not reload if the ammo in your inventory is wrong or does not exist.

Realistic Reloading:

  • The system allows for realistic ammo management based on the weapon type and attachment.

  • Press the ‘R’ key to reload, removing corresponding ammo from the player’s inventory.

  • Exclusion List for Weapons Without Ammo:

    • Exclude specific weapons from the reloading process, ensuring that certain weapons (e.g., melee or specialty) behave as intended.
  • Optimized Performance:

    • Efficient server-side and client-side scripts, ensuring smooth performance even under heavy server loads.

Easy Configuration:

  • All settings are stored in external configuration files, making it easy to customize for your server’s specific needs without modifying core files.

  • Installation instructions inside

Requirements:

  • qb-core

Preview

FiveM_b2944_GTAProcess_dePFKgPksI.mp4 - Google Drive

TEBEX

https://geexhub.tebex.io/

Code is accessible No
Subscription-based No
Lines (approximately) 400 lines
Requirements QBCore Framework
Support Yes

Preview link not publicly available

1 Like

Can I add stock and slides and other gun components

1 Like

my bad. it is now public.

yes. as long as that exist in your server.
this script only modifies how reloading system of qbcore works.
It will not change anything other than that.