Hey folks, today i’m sharing a script i made around a year ago.
Description
This script called weaponry is a melting pot of multiple functions such as :
No reticle - Disable the aiming reticle to make it harder to aim
No ammo HUD - You better count the ammo number you shoot because it’s not writen anymore !
Visual recoil - By adding a shakycam while you shoot it gets more realistic !
Effective recoil - All credit goes to Blumlaut with his recoil script
No melee - Disable melee with weapon (except melee ones) to avoid killing mates while reloading or shooting. Thanks to AdrineX.
Infinite extinguisher
Just made an update today to add the last doomsday weapons to my script and to Blumlaut’s script but for an unknown reason the negative hashes of the doomsday weapons aren’t taken in count with the effective recoil. If you manage to fix it, please let me know.
Video
Here is a demo video of what it looks like.
Once again i’d like to thank Blumlaut for his recoil script.
Weaponry 1.1.rar (2.7 KB) 1.1 : Added the no melee fix from AdrineX
Installation
Simply extract the folder in your FiveM ressources and do not forget to start it in the .cfg
Ps : Sorry if my english is sometimes weird i’m a french baguette.
Ps2 : It is stricly prohibited to LEFR server to use my code as i got kicked away for being away a month or so.
Well i’m just disabling these controls :
140 INPUT_MELEE_ATTACK_LIGHT
141 INPUT_MELEE_ATTACK_HEAVY
142 INPUT_MELEE_ATTACK_ALTERNATE
143 INPUT_MELEE_BLOCK
So it shouldn’t impact the weapons wheel. Please try to turn off my script and check if you have access to the weapons wheel ?
I just re-uploaded the folder directly from my server’s installation. Please try this one, if it’s not working you probably missed something on the installation.