# QBCore instalation

1. Open config.lua and set `Framework.QBCORE = true` and `MySQLFramework.OXMYSQL = true` It should look like the following

```lua
-- if "STANDALONE" is on true, nothing under will take effect.
Framework = {
    STANDALONE = false,

    ESX = false,
    QBCORE = true,
}

-- if "DISABLE_MYSQL" is on true, nothing under will take effect.
MySQLFramework = {
    DISABLE_MYSQL = false,

    MYSQL_ASYNC = false,
    GHMATTI_MYSQL = false,
    OXMYSQL = true,
}
```

1. Add items in `qb-core/shared/items.lua`

```lua
['spray'] 	  = {['name'] = 'spray', ['label'] = 'Spray', ['weight'] = 500, ['type'] = 'item', ['image'] = 'spray.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Spray paint can'},
['spray_remover'] = {['name'] = 'spray_remover', ['label'] = 'Spray Remover', ['weight'] = 500, ['type'] = 'item', ['image'] = 'spray_remover.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Removes graffiti'},
```

1. Add item images from `rcore_spray/inventory_images` to `qb-inventory/html/images/`
2. Start the script, wait 5 seconds and restart your server (to load newly added items)


---

# 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://documentation.rcore.cz/paid-resources/rcore_spray/qbcore-instalation.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.
