Files
red-valley/resources/[framework]/[addons]/qs-smartphone-pro/client/custom/billing/codemv2.lua
2026-03-29 21:41:17 +03:00

10 lines
302 B
Lua

if Config.Billing ~= 'codemv2' then return end
---@param id number
---@return boolean
function PayInvoice(id)
TriggerServerEvent('codemBilling:PayInvoice', id)
Wait(250) -- Wait until the server has processed the request (this is a bad way to do it. Use callbacks instead)
return true
end