Installation

Please follow the steps bellow very carefully to install the YBN Weapon Pack! Any issues with installation, please feel free to open a ticket in our support discord!

Step 1

Download the script from Keymaster/CFX.RE Portal, which can be found below : - https://keymaster.fivem.net/ - https://portal.cfx.re/

Step 2

Drag & drop the "lsguns" resource from the zip/rar file, into your resources directory (folder)

Step 3

Ensure the resource in your "server.cfg" like done below : ensure lsguns

Step 4

Add this code snippet to your 'ox_inventory\data\weapons.lua' file!

	['WEAPON_P9'] = {
		label = 'Combat 9E',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_GLOCK17S'] = {
		label = 'Combat 17S',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_19X'] = {
		label = 'Combat 19x',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_GLOCK21'] = {
		label = 'Combat 21',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_P80'] = {
		label = 'Combat 45',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_HELLCAT'] = {
		label = 'Combat Cat',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_COMBATP80'] = {
		label = 'Combat P80',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_GHOSTGLOCK'] = {
		label = 'Ghost Combat',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_GHOSTGLOCK'] = {
		label = 'Combat 17',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_509T'] = {
		label = 'FIN 509T',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_FN57'] = {
		label = 'Heavy Pistol 57',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-45'
	},

	['WEAPON_GHOST'] = {
		label = 'Ghost Combat 9',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_GHOST10'] = {
		label = 'Combat 20',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_HK45'] = {
		label = 'SNS HKC',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-45'
	},

	['WEAPON_MOSSBERG'] = {
		label = 'Sawnoff Serbu',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-shotgun'
	},

	['WEAPON_MP9'] = {
		label = 'Combat P9',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_PSA'] = {
		label = 'PSA Combat',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_43X'] = {
		label = 'SNS 43x',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-45'
	},

	['WEAPON_TG2C'] = {
		label = 'SNS G2C',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

	['WEAPON_UZI'] = {
		label = 'Mini SMG Stag',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-45'
	},

	['WEAPON_ZTEC9'] = {
		label = 'ZTEC9',
		weight = 785,
		durability = 0.2,
		ammoname = 'ammo-9'
	},

Step 5

'lsguns\installation\Weapon Images' drag the images from this folder, into 'ox_inventory\web\images'

Step 6

Restart your server and enjoy!

Last updated