> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-gangs/integrations/nc-drugselling.md).

# nc-drugselling

{% stepper %}
{% step %}

### Find Server-Side Folder

Go to `nc-drugselling/server/main.lua`
{% endstep %}

{% step %}

### Add Code inside Drug Dealing Event

Find event called:

```lua
nc-drugselling:server:makeDeal
```

{% endstep %}

{% step %}

### Add Our Code Snippet

Please make sure to paste code in correct place.

<figure><img src="/files/49FepKVcGNhNJSahge6L" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Copy Snippet:

```lua
local turfId = exports['op-crime']:getPlayerTurfZone(src)
if turfId then 
    TriggerEvent('op-crime:drugSold', src, turfId, dealData.price)
end
```

{% endstep %}
{% endstepper %}
