All these events can be changed in the shared/config.lua, these are the default ones.
RegisterNetEvent("zyke_drugdealer:OfferDeclined")
AddEventHandler("zyke_drugdealer:OfferDeclined", function()
print("offerDeclined")
end)
RegisterNetEvent("zyke_drugdealer:OfferCreated")
AddEventHandler("zyke_drugdealer:OfferCreated", function(dealData)
print("offerCreated")
end)
RegisterNetEvent("zyke_drugdealer:OfferExpired")
AddEventHandler("zyke_drugdealer:OfferExpired", function()
print("offerExpired")
end)
RegisterNetEvent("zyke_drugdealer:OfferAccepted")
AddEventHandler("zyke_drugdealer:OfferAccepted", function(dealData)
print("offerAccepted")
end)
RegisterNetEvent("zyke_drugdealer:DealFinished")
AddEventHandler("zyke_drugdealer:DealFinished", function(drug, amount)
print("dealFinished")
end)
RegisterNetEvent("zyke_drugdealer:DealCancelled")
AddEventHandler("zyke_drugdealer:DealCancelled", function(reason)
print("dealCancelled")
end)