QB-Core holster script that let you wear and remove holster to quickly draw a gun
- Quickly wear and remove holster
- Holster as item
- Customizable draw time
- Offer support via issues and discord (Know atleast the basis of fivem and scripts)
- Little Axolotl#3953
--Line ~150
local HolsterVariant = GetPedDrawableVariation(ped, 8) --Replace with category number
if HolsterVariant == 130 then --Replace to match config
WearingHolster = true
elseif HolsterVariant == 160 then --Replace to match config
WearingHolster = true
end
Navigate to /qb-inventory/html/images
and drag holster.png
from image folder to /qb-inventory/html/images
['holster'] = {['name'] = 'holster', ['label'] = 'Holster', ['weight'] = 5, ['type'] = 'item', ['image'] = 'holster.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'An holster to quickly draw your handgun.'},