# TalkNpcs

<mark style="color:red;">**TALKNPCS v3.0.4**</mark>

La nueva versión de TalkNPCs consiste en un sistema de 'intercambio' de ítems con los NPCs.

Puedes configurar que el NPC necesite 1 ítem con X cantidad o 2 ítems con X cantidades, y a cambio, el NPC te entregará los ítems asignados con un total de 3 ítems máximo y la cantidad que desees por cada ítem.

El sistema de imágenes ha sido mejorado a una mejor calidad, pero siempre se podrá configurar la calidad deseada en el CSS.

Este recurso cuenta con un sistema de props propio que permite colocar X props en el mapa para registrarlos usando el target. Los props tienen un cooldown de X minutos, asignado en el `config.lua`. También cuenta con un sistema de sincronización que impide que varios jugadores puedan registrar el mismo prop. Además, incluye un sistema que, al activarse en el `config.lua`, coloca el prop automáticamente en el suelo, y si se desactiva, el prop podrá quedarse en el aire.

Cuenta con un sistema de webhook que aún está en desarrollo, pero incluye un logo adecuado y necesario. Sin embargo, en la próxima versión este sistema será mejorado.

El script está creado en un sistema QBcore, por lo que el sistema de props no ha sido probado en ESX. No se recomienda comprarlo para usarlo en ESX, pero si decides adquirirlo y encuentras errores, puedes notificarlos en Discord y se realizarán los cambios necesarios.

<mark style="color:red;">El script ha sido probado con</mark> <mark style="color:red;"></mark><mark style="color:red;">`qb-inventory`</mark><mark style="color:red;">,</mark> <mark style="color:red;"></mark><mark style="color:red;">`origen_inventory`</mark><mark style="color:red;">, y</mark> <mark style="color:red;"></mark><mark style="color:red;">`ox_inventory`</mark><mark style="color:red;">. No me hago responsable si no funciona con otros inventarios que no cuenten con las funciones nativas de FiveM.</mark>

Por ahora, solo está disponible para su uso con <mark style="color:orange;">`ox_target`</mark>, pero más adelante, o si se solicita, se activará la compatibilidad con <mark style="color:orange;">`qb-target`</mark>.

<mark style="color:purple;">**ENGLISH**</mark>

The new version of TalkNPCs includes a 'trade' system with NPCs.

You can configure the NPC to require either 1 item with X quantity or 2 items with X quantities. In exchange, the NPC will give you up to 3 assigned items with the desired amount per item.

The image system has been upgraded to higher quality, but the desired quality can always be configured through the CSS.

This resource has its own prop system, allowing you to place X props on the map to register them using the target. The props have a cooldown of X minutes, as set in the <mark style="color:yellow;">`config.lua`</mark>. There’s also a synchronization system that prevents multiple players from registering the same prop. Additionally, there’s a system that, when enabled in the <mark style="color:yellow;">`config.lua`</mark>, automatically places the prop on the ground, and if disabled, the prop can remain in the air.

It has a webhook system that is still in development but includes an appropriate and necessary logo. However, this system will be improved in the next version.

The script is built on the QBcore framework, so the prop system has not been tested on ESX. Therefore, I do not recommend purchasing it for use with ESX. However, if you choose to purchase it and encounter any issues, you can report them on Discord, and the necessary changes will be made.

<mark style="color:red;">The script has been tested with</mark> <mark style="color:purple;">`qb-inventory`</mark><mark style="color:red;">,</mark> <mark style="color:purple;">`origen_inventory`</mark><mark style="color:red;">, and</mark> <mark style="color:purple;">`ox_inventory`</mark>. <mark style="color:red;">I am not responsible if it doesn't work with other inventories that lack FiveM's native functions.</mark>

It is currently only available for use with <mark style="color:orange;">`ox_target`</mark>, but later, or if requested, support for <mark style="color:orange;">`qb-target`</mark> will be added

**Links:**

<mark style="background-color:purple;">**NEW VIDEO**</mark>

{% embed url="<https://youtu.be/lIaODPzwaTc>" %}

<mark style="background-color:red;">OLD VIDEO</mark>

{% embed url="<https://www.youtube.com/watch?v=ULhDYZU3oyQ&t=28s>" %}

[TEBEX](https://reaverdev.tebex.io/category/scripts)

Requirements:

[es\_extended](https://github.com/ESX-Official/es_extended)

[qb-core](https://github.com/qbcore-framework/qb-core)

[ox\_target](https://github.com/overextended/ox_target)

[progressbar](https://github.com/qbcore-framework/progressbar)

[bl\_sprites](https://github.com/Byte-Labs-Studio/bl_sprites) (Optional)

Extra:

The script includes the CFX Escrow system. For more information, [click here](https://forum.cfx.re/t/introducing-asset-escrow-for-your-resources/4777151).

Talknpcs does not have a subscription system; it involves a one-time payment and maintenance for a specified development period.

Support:

12-hour support via our [discord](https://discord.gg/Kx3Pbmx8Ae). On this discord, you can view products, ask questions about doubts or errors; any disrespect will result in expulsion, and clients will lose support privileges.

{% embed url="<https://reaverdev.tebex.io/category/scripts>" %}

{% embed url="<https://reaver-dev.gitbook.io/reaver-docs>" %}


---

# 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://reaver-dev.gitbook.io/reaver-docs/talknpcs.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.
