Replace default billing
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Triggered when using billing option in F6 actions menu
RegisterNetEvent("jobs_creator:actions:createBilling", function()
end)
-- To place in jobs_creator/integrations/cl_integrations.lua
RegisterNetEvent("jobs_creator:framework:ready", function()
-- Disables the default script billing (otherwise there would be 2 billings)
exports["jobs_creator"]:disableScriptEvent("jobs_creator:actions:createBilling")
end)
RegisterNetEvent("jobs_creator:actions:createBilling", function()
-- Uses Billing UI event
TriggerEvent("billing_ui:activateBillingMode")
end)
You can place it in the file integrations/cl_integrations.lua
of the script, at the bottom of the file on new lines