It has come to my attention that a previous developer of our server has released a large amount of our private code base to the public without permission. Some of these scripts took hours to create and were created to specifically promote our server. To prevent any malicious intent in use of these scripts that might conflict with the FiveM terms of service I have decided to slowly release them as I get the chance to do so. The following is an official public release of the script I custom coded for Insomnia RP a while back to greatly enhance roleplay called ESX Holster. The script combines a lot of other scripts into one and adds features that were not previously compatible. It was also influenced by a few private scripts I saw online that were not released that I decided to write the code for myself. Credit is posted in the github to the creators for scripts used in parts of the code. The script allows for the following:
select multiple holsters for your character in game and removes pistol when drawn from holster - EUP REQUIRED
Changes draw animations based on gun and holster equipped
It removes the ability to draw large guns anywhere and makes players draw them from trunks with animation
Large guns that are put away will be put on your back and when drawn will be removed from your back
You may only have 1 large weapon on your back at a time regardless of the number of weapons in your inventory
Must be at a car trunk to put a large weapon away to remove it from back/hands
police can draw guns from driver and passenger door as well as trunk and have a reduced draw time
Controls:
/holster 0-3 selects which holster to use - EUP Required
There is a quickdraw bound to Z
/rack puts gun back in your car
For more information please see the ReadMe in the github.
im getting this error any time I go to pull a large weapon out. it only is crashing for me. ive reinstalled the script as well as reinstalled fivem and it is still doing it but only effects me. anyone know how to fix this???
Hey, i really this script, but im looking for script without esx and i can only :put large weapon in my police car like this script and the script the ped take the weapon in the pants