Page cover

πŸ’»Installation

Dependencies

ES EXTENDED

You will need the latest version of es_extended.

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.

RADIAL MENU

You will need any radial menu script.

  • Extract the contents of the archive to your resources folder.

  • Start the resource near the top of your resources in your server.cfg.


Inventory setup

QB-INVENTORY or PS-INVENTORY
  • 1 - Paste the code below in qb-core/shared/items.lua

   b_glasses                    = { name = 'b_glasses',          label = 'Broke Glasses',                           weight = 100,       type = 'item',      image = 'b_glasses.png',                    unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Broke Glasses...' },
   b_tv                         = { name = 'b_tv',               label = 'Broke TV',                                weight = 100,       type = 'item',      image = 'b_tv.png',                         unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Broke TV...' },
   b_laptop                     = { name = 'b_laptop',           label = 'Broke Laptop',                            weight = 100,       type = 'item',      image = 'b_laptop.png',                     unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Broke Laptop...' },
   b_camera                     = { name = 'b_camera',           label = 'Broke Camera',                            weight = 100,       type = 'item',      image = 'b_camera.png',                     unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Broke Camera...' },
   b_phonefix                   = { name = 'b_phonefix',         label = 'Broke Phone',                             weight = 100,       type = 'item',      image = 'b_phonefix.png',                   unique = false, useable = false,     shouldClose = true,    combinable = nil,   description = 'Broke Phone...' },
  • 2 - Copy the images from [images] and paste them into qb/ps-inventory/html/images.

OX-INVENTORY
  • 1 - Paste the code below under ox_inventory/data/items.lua

	["b_laptop"] = {
		label = "Broke Laptop",
		weight = 100,
		stack = true,
		close = true,
		description = "Broke Laptop...",
		client = {
			image = "b_laptop.png",
		}
	},

	["b_camera"] = {
		label = "Broke Camera",
		weight = 100,
		stack = true,
		close = true,
		description = "Broke Camera...",
		client = {
			image = "b_camera.png",
		}
	},

	["b_glasses"] = {
		label = "Broke Glasses",
		weight = 100,
		stack = true,
		close = true,
		description = "Broke Glasses...",
		client = {
			image = "b_glasses.png",
		}
	},

	["b_tv"] = {
		label = "Broke TV",
		weight = 100,
		stack = true,
		close = true,
		description = "Broke TV...",
		client = {
			image = "b_tv.png",
		}
	},

	["b_phonefix"] = {
		label = "Broke Phone",
		weight = 100,
		stack = true,
		close = true,
		description = "Broke Phone...",
		client = {
			image = "b_phonefix.png",
		}
	},
  • 2- Copy the images from [images] and paste them into ox_inventory/web/images.

QS-INVENTORY
  • 1- Add the code below into qs-inventory/shared/items.lua:

  • 2- Copy the images from [images] and paste them into qs-inventory/html/images.


RADIAL MENU

STANDARD RADIAL MENU
  • 1 - Add the code below into the qb-radialmenu/client/main.lua

QBX RADIALMENU

Add the code below to the bottom fo client/main.lua

OTHER RADIAL MENUS
  • 1 - Add the code below into the top of your radialmenu script /config.lua :

  • 2- Add the code below into the bottom of your radialmenu script/config.lua :

  • 3- Depending on your radial menu :

  • 3-1- if it uses rootMenuConfig then add the code below under rootMenuConfig :

  • 3-2- If it uses newSubMenus then then add the code below under newSubMenus :

NPC DIALOG

ADD THIS TO THE ZAT DIALOG CONFIG

ENSURE RESOURCES

Last updated