# lation\_selling

{% stepper %}
{% step %}

### Find Directory

Find folder `lation_selling/server/functions.lua`
{% endstep %}

{% step %}

### Find Function

Find function named `DrugSold`
{% endstep %}

{% step %}

### Replace function

Replace existing function `DrugSold` with this:

```lua
DrugSold = function(source, zoneId, item, quantity, value)
    local turfId = exports['op-crime']:getPlayerTurfZone(source)
    if turfId then 
        TriggerEvent('op-crime:drugSold', source, turfId, value)
    end
end

```

{% endstep %}
{% endstepper %}
