# FAQ

This page has FAQs related **ONLY to this script**, be sure to also check [Common FAQ](/jaksams-scripts/common-faq.md) for other issues

<details>

<summary>Drugs effects not working</summary>

If the effects are not working, it means that `ESX.RegisterUsableItem` function of your `es_extended` doesn't work properly

You can still manually register/trigger effects by using the [following event](/drugs-creator/client/manually-start-drugs-effects.md)

On both **ESX** and **QBCore**, an anticheat may interfere with drugs effects

*Note: this is not something which depends on the script and we can't solve it for you*

</details>

<details>

<summary>Bad performance</summary>

If you are having issues with server side performance with Drugs Creator, most likely is because of NPC selling, which requires to refresh all players inventories to be able to prompt `Press E to sell drugs` dialog

If you want to improve performance, enable the command in the in-game script settings, so it will use the closest NPC or spawn one (depending on your configuration)

</details>


---

# 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.jaksam-scripts.com/drugs-creator/faq.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.
