Integration with lation_selling for our Turf Zones Loylity System.
Find folder lation_selling/server/functions.lua
lation_selling/server/functions.lua
Find function named DrugSold
DrugSold
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 4 days ago