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

Add Loan

CreatePersonalLoanByPlayerSource

Create Personal Loan by Player Source

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

  • amount: number

  • time: number -- seconds

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

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


CreatePersonalLoanByPlayerIdentifier

Create Personal Loan by Player Identifier

exports.cdev_banking:CreatePersonalLoanByPlayerIdentifier(cid, amount, time, onPaid, onNotPaid)
  • cid: CitizenId

  • amount: number

  • time: number -- seconds

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

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


CreateLoanByAccountId

Create Loan by Account ID

  • id: number

  • amount: number

  • time: number -- seconds

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

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


Example using CreatePersonalLoanByPlayerSource

Example Server Event

Last updated