- Home
- Free Scripts
- Weapon Carry Script
Weapon Carry Script
A free FiveM script that displays the weapons of a player on their body, or any other configured position. Adding realis...
Key Features
Works with ESX • QBCore • Qbox
What's included:
- Full source code
- Configuration files
- Installation documentation
- 100% editable code
- Discord support
Overview
There are already quite some 'weapon-carry' scripts available, but I often found them to be either, buggy, lacking in features or badly optimized. So I decided to create a version of my own.
Features
Tested on the esx-framework, but should also work on qb-core and with ox-inventory.
Configure the weapons that should be displayed on a players body, if the player has the weapon in his loadout/inventory.
The weapons are attached to a configured position and ped-bone.
A debug-mode enables a command which can be used to easily determine the right weapon positions (see the end of the preview video).
It is also possible to add clothes-dependend positions, as of now this only works with skinchanger.
The spawned weapon props are tracked on the server, which handles the attached props on a player disconnect.
Installation
- Download the resource from GitHub using the link above
- Extract the files and move the resource folder to your server's resources directory
- Add to server.cfg by adding:
ensure resource-name - Restart your server to load the resource
- Configure (optional) by editing the config.lua file in the resource folder
Configuration
All scripts include easy-to-edit configuration files. Common settings include:
- Language/localization options
- Feature toggles
- Price and economy settings
- Notification preferences