πŸ“„Installation

Standalone installation. Instructions can be found here and in the README.md file.

Adding items

  1. Open ox_inventory/data/items.lua.

  2. Paste these items into ox_inventory/data/items.lua:

["carpart_wheel"] = {
	label = "Wheel",
	weight = 2500,
	stack = false,
	close = false,
	description = "Wheel from a car",
	client = {
		image = "carpart_wheel.png",
	}
},

["carpart_door"] = {
	label = "Door",
	weight = 5000,
	stack = false,
	close = false,
	description = "Door from a car",
	client = {
		image = "carpart_door.png",
	}
},

["carpart_hood"] = {
	label = "Hood",
	weight = 3000,
	stack = false,
	close = false,
	description = "Hood from a car",
	client = {
		image = "carpart_hood.png",
	}
},

["carpart_trunk"] = {
	label = "Trunk",
	weight = 1000,
	stack = false,
	close = false,
	description = "Trunk from a car",
	client = {
		image = "carpart_trunk.png",
	}
},

["carpart_radiator"] = {
	label = "Radiator",
	weight = 1000,
	stack = false,
	close = false,
	description = "Radiator from a car",
	client = {
		image = "carpart_radiator.png",
	}
},

Adding images

  1. Copy all images from below into ox_inventory/web/images/

Final steps

  1. Configure config/shared.lua and config/server.lua to your likings

  2. Delete items folder and README.md

  3. Restart your server

Last updated