📄Blueprints
To test the blueprint, You can use this command to give a blueprint for a drill for example:
RegisterCommand("givebp", function()
exports["zat-crafting"]:GiveBlueprint("drill")
end)
To add a blueprint item from Client side :
exports["zat-crafting"]:GiveBlueprint("drill")
To add a blueprint from Server side :
local info = {
type = 'thermite'
}
exports.ox_inventory:AddItem(source, "drill", 1, info)
To add a blueprint to a shop :
[1] = {
name = "blueprint",
price = 0,
amount = 5,
info = {
type = 'thermite'
},
type = "item",
slot = 1,
},
Last updated