# 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 :

<pre><code><strong>local info = {
</strong>    type = 'thermite'
  }
Player.Functions.AddItem("blueprint", 1, false, info)
TriggerClientEvent('inventory:client:ItemBox', src, QBCore.Shared.Items["blueprint"], "add")
</code></pre>

To add a blueprint to a shop :&#x20;

```
[1] = {
            name = "blueprint",
            price = 0,
            amount = 5,
            info = {
              type = 'thermite'
            },
            type = "item",
            slot = 1,
        },
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zat-scripts.gitbook.io/zat-scripts/qbcore/crafting/blueprints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
