Add Loan
CreatePersonalLoanByPlayerSource
Create Personal Loan by Player Source
exports.cdev_banking:CreatePersonalLoanByPlayerSource(source, amount, time, onPaid, onNotPaid)id:
PlayerIdamount:
numbertime:
number-- secondsonPaid: {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:
CitizenIdamount:
numbertime:
number-- secondsonPaid: {event:
string, args:table}onNotPaid: {event:
string, args:table}
CreateLoanByAccountId
Create Loan by Account ID
id:
numberamount:
numbertime:
number-- secondsonPaid: {event:
string, args:table}onNotPaid: {event:
string, args:table}
Example using CreatePersonalLoanByPlayerSource
Example Server Event
Last updated