lation_selling

Integration with lation_selling for our Turf Zones Loylity System.

1

Find Directory

Find folder lation_selling/server/functions.lua

2

Find Function

Find function named DrugSold

3

Replace function

Replace existing function DrugSold with this:

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

Last updated