Skip to content

A less lethal shotgun for police to use, basically and alternative to a taser (QBCORE)

License

Notifications You must be signed in to change notification settings

Twitchsparkyz/qb-beanbagshotgun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Bean Bag Shotgun

Addon bean bag shotgun to use with qbcore

Installation:

Add to qb-core/shared/weapons.lua

[`weapon_beanbagshotgun`]					= {['name'] = 'weapon_beanbagshotgun',				['label'] = 'Non-Lethal Shotgun',						['ammotype'] = 'AMMO_SHOTGUN',						['damagereason'] = 'Hit by a bean bag'},
  

Add to qb-core/shared/items.lua

	['weapon_beanbagshotgun'] 			 = {['name'] = 'weapon_beanbagshotgun', 		 	  	['label'] = 'Non-Lethal Shotgun', 			    ['weight'] = 1000, 		['type'] = 'weapon', 	['ammotype'] = 'AMMO_SHOTGUN',			['image'] = 'weapon_beanbagshotgun.png', 		['unique'] = true, 		['useable'] = false, 	['description'] = 'A Non-lethal version of the Remington 870'},

Add to qb-weapons/config.lua at Config.DurabilityMultiplier

    ['weapon_beanbagshotgun'] 		= 0.0,

Add to qb-weapons/config.lau at WeaponAttachments

    ['WEAPON_BEANBAGSHOTGUN'] = {
        ['defaultclip'] = {
            component = 'COMPONENT_BEANBAGSHOTGUN_CLIP_01',
            item = 'pumpshotgun_defaultclip',
            type = 'clip',
        },
    },

Add to qb-ambulancejob/config.lua

    [`WEAPON_BEANGBAGSHOTGUN`] = Config.WeaponClasses['NONE'],

Add this image to qb-inventory/html/images with name: weapon_beanbagshotgun.png weapon_beanbagshotgun

Weapon Model and skin credits:

https://www.gta5-mods.com/weapons/less-lethal-shotgun-bean-bag-shotgun

About

A less lethal shotgun for police to use, basically and alternative to a taser (QBCORE)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages