Configuration
Config = {}
Config.UseCustomESX = false
Config.Positions = {
vector3(149.7993, -1040.6951, 29.3741)
}
Config.Cooldown = {
enable = true,
time = 5 -- in seconds
}
Config.enableATMs = true
Config.ATMs = {
vector3(-386.733, 6045.953, 31.501),
vector3(-284.037, 6224.385, 31.187),
vector3(-284.037, 6224.385, 31.187),
vector3(-135.165, 6365.738, 31.101),
-- .... and more
}
Config.Marker = {
Type = 0,
ColorR = 0,
ColorG = 178,
ColorB = 255,
}
Config.Blip = {
Sprite = 459,
Color = 3,
Scale = 0.8,
Name = 'Bank'
}
Config.ClientNotify = function(title, msg)
TriggerEvent("esx:showNotification", msg)
end
Config.ServerNotify = function(src, title, msg)
TriggerClientEvent("esx:showNotification", src, msg)
end
Config.HelpNotify = function(msg)
ESX.ShowHelpNotification(msg)
end
Config.MaxAmount = 1000000
Config.ResetHistoryCommand = "resethistory"
Config.Language = {
UITitleServerName = "FUSION",
helpNotify = "Press ~INPUT_CONTEXT~ to access the bank",
depositSuccess = "You have successfully deposited $%s",
depositFail = "You do not have enough money to deposit $%s",
withdrawSuccess = "You have successfully withdrawn $%s",
withdrawFail = "You do not have enough money to withdraw $%s",
transferSuccess = "You have successfully transferred $%s to %s",
transferFail = "You do not have enough money to transfer $%s",
}
Config.BanTrigger = function(src, reason)
TriggerEvent("EasyAdmin:BanPlayer", src, reason)
end
Last updated