For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add Invoice

CreatePersonalInvoiceByPlayerSource

Create Personal Invoice by Player Source

exports.cdev_banking:CreatePersonalInvoiceByPlayerSource(source, amount, time, onPaid, onNotPaid)
  • id: PlayerId

  • amount: number

  • time: number -- seconds

  • onPaid: {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: CitizenId

  • amount: number

  • time: number -- seconds

  • onPaid: {event: string, args: table}

  • onNotPaid: {event: string, args: table}


CreateInvoiceByAccountId

Create Invoice by Account ID

  • id: number

  • amount: number

  • time: number -- seconds

  • onPaid: {event: string, args: table}

  • onNotPaid: {event: string, args: table}


Example using CreatePersonalInvoiceByPlayerSource

Example Server Event

Last updated