Add Invoice
CreatePersonalInvoiceByPlayerSource
Create Personal Invoice by Player Source
exports.cdev_banking:CreatePersonalInvoiceByPlayerSource(source, amount, time, onPaid, onNotPaid)id:
PlayerIdamount:
numbertime:
number-- secondsonPaid: {event:
string, args:table}onNotPaid: {event:
string, args:table}
CreatePersonalInvoiceByPlayerIdentifier
Create Personal Invoice by Player Identifier
exports.cdev_banking:CreatePersonalInvoiceByPlayerIdentifier(cid, amount, time, onPaid, onNotPaid)cid:
CitizenIdamount:
numbertime:
number-- secondsonPaid: {event:
string, args:table}onNotPaid: {event:
string, args:table}
CreateInvoiceByAccountId
Create Invoice by Account ID
id:
numberamount:
numbertime:
number-- secondsonPaid: {event:
string, args:table}onNotPaid: {event:
string, args:table}
Example using CreatePersonalInvoiceByPlayerSource
Example Server Event
Last updated