Installation
1. Upload the resource
Place the resource in your server resources folder:
resources/[webaustral]/webaustral_paychecks2. Add it to server.cfg
ensure webaustral_paychecksQbox installation
ensure ox_lib
ensure qbx_core
ensure webaustral_paychecksRecommended config:
Config.Framework = 'auto'
-- or force it:
Config.Framework = 'qbox'QBCore installation
ensure ox_lib
ensure qb-core
ensure webaustral_paychecksRecommended config:
Config.Framework = 'auto'
-- or force it:
Config.Framework = 'qbcore'ESX installation
ensure ox_lib
ensure es_extended
ensure webaustral_paychecksRecommended config:
Config.Framework = 'auto'
-- or force it:
Config.Framework = 'esx'Standalone installation
ensure ox_lib
ensure webaustral_paychecksRecommended config:
Config.Framework = 'standalone'
Config.Paycheck.Enabled = falsePayment mode
To use the resource only as a visual notification, keep payments disabled:
Config.Paycheck.Enabled = falseTo let this script pay players automatically:
Config.Paycheck.Enabled = true
Config.Paycheck.Account = 'bank'Useful exports
exports['webaustral_paychecks']:SendPaycheck(source, 2000, {
title = 'MAZE BANK',
message = 'You received your paycheck'
})
exports['webaustral_paychecks']:PayPlayer(source, 2000, {
account = 'bank',
title = 'MAZE BANK',
message = 'You received your paycheck'
})