💻Installation

Dependencies

QBCore

You will need the latest version of qb-core.

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

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

QB-WEAPONS

You will need the latest version of qb-weapons.

  • 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 the SQLs to the data base.

  • Add item to shared items.lua.

    craftingtable                = { name = 'craftingtable', label = 'Crafting Table', weight = 100, type = 'item', image = 'craftingtable.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Crafting Table' },
    			
    blueprint                    = { name = 'blueprint',     label = 'Blueprint', weight = 100, type = 'item', image = 'blueprint.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'Blueprint' },
  • If you are using ox_inventoryadd 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)
  • Ensure zat-crafting on the server.cfg.

Last updated