Well since I cant seem to figure out how to post a release, I will just post it here, Credit goes back to [Release] Weapons On Back however this script is broke hard. So i took it from there and basically re-wrote it and it works.
Use the Z Key to sling and unsling your long guns.
This is a NON ESX item, It may work but who knows I know it works with FiveM on a vMenu based server.
Really great script, I was able to add a few other wepaonds that our server uses a lot that were not in the script, for anyone else who would like to do the same you can find the weapon hashes here there are a lot of ones online but these hashes are the ones that match up to the scripts hashes and work ingame on adding other weapons.
it would be really cool if you could add a backbone to each weapon or category. so we could do the same with pistols. but still, well done for the script.
Hello I try to change my keybind in the local wep_back = “Z” to local wep_back = “B”
But it doesn’t work. But when I press Z it works?
The lua file still shows it’s set to B. It is very weird. Can you help me?