10 lines
302 B
Lua
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
|