| DAN6CD | WEAPON SLING — FREE EDITION |
|----|
| |
Free Multi-Framework Weapon Sling System for FiveM
Bring realistic weapon carrying to your FiveM roleplay server with DAN6CD Weapon Sling.
This resource allows players to visibly carry an Assault Rifle using front and back sling positions, interact with physical weapon drops, and maintain persistent weapon records.
Designed for Qbox, QBCore, and ESX Legacy, with framework-specific inventory compatibility.
Features
-
Visible Weapon Sling — Carry a rifle on your character rather than having it disappear.
-
Front & Back Positions — Switch between supported sling placements.
-
Physical Weapon Drops — Place your rifle in the game world and retrieve it.
-
Persistent Weapon Records — Uses MySQL to maintain stored weapon information.
-
Metadata Preservation — Designed to retain serial numbers, ammunition, and supported weapon metadata.
-
Male & Female Support — Includes sling clothing assets for freemode characters.
-
Multi-Framework Compatibility — Includes automatic framework and inventory detection.
-
Server-Side Validation — Validates weapon transfers to help prevent duplication.
Supported Frameworks
| Framework | Inventory |
|---|---|
| Qbox | ox_inventory |
| QBCore | qb-inventory |
| QBCore | ox_inventory (supported integrations) |
| ESX Legacy | Native ESX weapon loadout |
| ESX Legacy | ox_inventory |
Commands
| Command | Function |
|---|---|
J or /sling |
Front sling |
/backsling |
Back sling |
/dropgun |
Drop the equipped rifle |
/slingcheck |
Check sling clothing |
/slingdebug |
Debug weapon records |
Installation
-
Download the resource.
-
Extract
weapon_sling_freeinto your FiveM server’s resources directory. -
Import the included
database.sql. -
Ensure your framework, inventory,
ox_lib, andoxmysqlare installed. -
Add the following to
server.cfgafter the required resources:
ensure weapon_sling_free
- Restart your server and test the sling system.
Read the included README.md for framework-specific configuration and installation instructions.
Requirements
-
FiveM server with OneSync
-
Qbox, QBCore, or ESX Legacy
-
Compatible inventory system
-
ox_lib
-
oxmysql
-
Supported freemode character and sling clothing
Download
Price: FREE — $0.00
Release Information
Version: 1.0.0-free — Development/Test Release
Currently supported weapon: GTA V Assault Rifle (WEAPON_ASSAULTRIFLE)
This is an initial multi-framework release. Compatibility adapters have passed simulated tests, but live server verification is still needed. Report issues with inventory transfers, clothing, animations, or persistence.
Technical Information
| Information | Details |
|---|---|
| Code accessible | Yes |
| Subscription-based | No |
| Lua lines (approximately) | 5,587 |
| Streamed clothing files | 2 YDD models, 3 YTD textures |
| Requirements & dependencies | ox_lib, oxmysql, OneSync, supported framework/inventory |
| Support | Bug reports and community feedback through this topic |
Developed by DAN6CD
Free for the FiveM roleplay community. Thank you for supporting independent FiveM development!