Exports
Exports can be requested at our discord! (https://discord.rxscripts.xyz/)
Client Side
SendInvoice(toPlayerId or toJobName, amount, reason?, isJobInvoice?)
Usage
-- sendTo: PlayerId or JobName
-- isJobInvoice: should be true if invoice is sent by job from the player
exports['RxBilling']:SendInvoice(sendTo, amount, reason?, isJobInvoice?)
Server Side
GetPlayerInvoices(identifier, invoiceType, jobName)
Usage
-- invoiceType: 'incoming' | 'outgoing' | 'jobSent' | 'jobIncoming'
-- jobName: only required when using type jobSent or jobIncoming
exports['RxBilling']:GetPlayerInvoices(identifier, invoiceType, jobName?)
Last updated