Simple weapons slings for the qbcore framework. Will put any weapon that is in the inventory hotbar on the players body.
Add start fjh-sling
or ensure fjh-sling
to your server.cfg or mods.cfg if you use one.
If you want to add other weapons add them to the config.lua
file in the same way weapons are added there now. The first value needs the be the item name from qbcore shared.lua otherwise it cannot find the weapon.
/sling
- Toggle if the sling should be in the front or back of the body. For the weapon to switch just take it out and put it away again.