Exports
You can use these exports from other server scripts.
SendPaycheck
Displays the UI notification only.
exports['webaustral_paychecks']:SendPaycheck(source, 2000, {
title = 'MAZE BANK',
message = 'You received your paycheck'
})PayPlayer
Pays the player and displays the UI notification.
exports['webaustral_paychecks']:PayPlayer(source, 2000, {
account = 'bank',
title = 'MAZE BANK',
message = 'You received your paycheck'
})Recommended usage
Use SendPaycheck when another system already adds the money.
Use PayPlayer when you want WebAustral Paychecks to handle the payment.