Config
Config = {}
Config.Locale = GetConvar('esx:locale', 'fr')
Config.Reset = {00, 00} -- 00h00 To reset daily deposits/withdrawals
Config.dailyDeposits = true
Config.maxDepositPerDay = 10000
Config.maxWithdrawPerDay = 10000
Config.ATMProps = {
"prop_atm_01",
"prop_atm_02",
"prop_atm_03",
"prop_fleeca_atm",
"v_5_b_atm1",
"v_5_b_atm",
}
Config.BankZones = {
vec3(149.91, -1040.74, 29.374),
vec3(-1212.63, -330.78, 37.59),
vec3(-2962.47, 482.93, 15.5),
vec3(-113.01, 6470.24, 31.43),
vec3(314.16, -279.09, 53.97),
vec3(-350.99, -49.99, 48.84),
vec3(1175.02, 2706.87, 37.89),
vec3(246.63, 223.62, 106.0)
}
Config.Zones = {
Pacific = {
Pos = {
vec3(244.004700, 226.102066, 106.287659)
},
Blip = {
Use = true,
Sprite = 108,
Display = 4,
Scale = 0.7,
Colour = 2,
Name = 'Pacific Bank'
},
Ped = {
Use = true,
Heading = 160.862656,
Ped = 'a_m_y_indian_01',
Type = 'PED_TYPE_CIVMALE'
}
},
Fleeca = {
Pos = {
vec3(149.236084, -1042.080933, 29.367979),
},
Blip = {
Use = true,
Sprite = 277,
Display = 4,
Scale = 0.7,
Colour = 3,
Name = 'Fleeca Bank'
},
Ped = {
Use = true,
Heading = 335.709656,
Ped = 'a_m_y_indian_01',
Type = 'PED_TYPE_CIVMALE'
}
}
}
Config.VisaPrice = 30000
Config.Filter = {
['mastercard'] = {
deposit_max = 3000
},
['visa'] = {
deposit_max = 10000
}
}
Config.FilterJobs = {
['ambulance'] = 'Ambulance',
['banker'] = 'Banquier',
['bennys'] = 'Bennys',
['cardealer'] = 'Concessionnaire',
['gouv'] = 'Gouvernement',
['gouv_m'] = 'Gouvernement Mexican',
['mechanic'] = 'Mécanicien',
['motodealer'] = 'Concessionnaire Moto',
['taxi'] = 'Taxi',
['police'] = 'Police',
}
Config.Notify = function(key, source, ...)
local service = IsDuplicityVersion()
local description, data
if ... then
description = (Config.Notifications[key].description):format(...)
data = {
id = Config.Notifications[key].id,
title = Config.Notifications[key].title,
description = description,
position = Config.Notifications[key].position,
style = Config.Notifications[key].style,
icon = Config.Notifications[key].icon,
type = Config.Notifications[key].type,
iconColor = Config.Notifications[key].iconColor
}
end
lib.notify(service and source or (data or Config.Notifications[key]), service and (data or Config.Notifications[key]))
end
Last updated