Hello, tried on a clean esx server and no any problem. If you are getting errors even though you are doing everything right. You can come to our Discord server and create a support ticket
I tried the new version, and if I put bank in type it doesn’t give me the money in the bank account, and is it possible to make it give dirty money instead?
CONFIG :
–[[ All settings of the script are found and edited in this file. ]]
Config = {}
—Interaction with these models
Config.AtmModels = { prop_atm_01, prop_atm_02, prop_atm_03, prop_fleeca_atm,
}
–[[ The time it takes for the ATM to be rob again | seconds ]]
Config.AtmCooldown = 300
—Item required for ATM robbery
—@type {name: string, label:string}
Config.RopeItem = { name = ‘lockpick’, label = ‘Lockpick’ }
—The time it takes to get the money from the ATM after it is ripped out
Config.BreakTime = 5 – seconds
—Money to be earned from ATM
Config.MoneyItem = { name = ‘money’ }
–[[ Required police count for rob ]]
Config.RequiredPoliceCount = 0
–[[ Required police job names | The total number of players with these job will be checked for RequiredPoliceCount]]
Config.PoliceJobName = {
[‘police’] = true,
[‘sheriff’] = true,
}
—The prize amount gives a random amount between max-min
—@type {max:number, min: number, type: ‘item’|‘bank’}
Config.Reward = {
type = ‘bank’,
min = 2000,
max = 5000,
}