lunar_drugscreator
Integration with lunar_drugscreator for our Turf Zones Loylity System. This integration has been created by our Customer: Awkward (206743186570346496)
Last updated
Integration with lunar_drugscreator for our Turf Zones Loylity System. This integration has been created by our Customer: Awkward (206743186570346496)
Find function called Editable.onRetailSale and replace it with this code:
function Editable.onRetailSale(player, itemName, amount, price)
local total = amount * price
local turfId = exports['op-crime']:getPlayerTurfZone(player.source)
if turfId then
TriggerEvent('op-crime:drugSold', player.source, turfId, total)
end
endLast updated