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.

OX_LIB

You will need the latest version of ox_lib.

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

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

Installing the resource

  • Make sure you have the dependencies listed above installed.

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

  • Add "blueprint" and "craftingtable" item to the database

  • import SQLs to the database.

OX INVENTORY
  • Add this to ox_inventory>data>items.lua:

["craftingtable"] = {
	label = "Crafting Table",
	weight = 100,
	stack = false,
	close = true,
	description = "Crafting Table",
	client = {
		image = "craftingtable.png",
	}
},
  • Add this to ox_inventory > modules > items > client.lua :

Item('craftingtable', function(data, slot)
	local model = "gr_prop_gr_bench_04b"
	local id = "CraftingTable"..math.random(111111,999999)
	TriggerEvent("zat-crafting:client:PlaceTable", id, model)
end)
QS INVENTORY
  • Add this into qs-inventory/shared/itemslua

  • Add this into qs-inventory/server/custom/misc/createuseableitem.lua

  • Ensure zat-crafting on the server.cfg.

Last updated