Weapon Carry Script
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.
FAQ
1. Download the package from the link above
2. Extract the files to your server's resources folder
3. Add the resource name to your server.cfg file
4. Restart your server
Yes! This package is completely free to download and use. No payment required.
Yes, since this is a free package, you have full access to the source code and can modify it as needed for your server.
While we provide basic support through our Discord server, priority support is reserved for paid packages. However, we're always happy to help when possible!