翻译
Config = {}Config.okokTextUI = true -- true = okokTextUI (I recommend you using this since it is way more optimized than the default ShowHelpNotification) | false = ShowHelpNotification
Config.IBANPrefix = "OK" -- the prefix of the IBAN
Config.IBANNumbers = 6 -- How many characters the IBAN has by default
Config.CustomIBANMaxChars = 10 -- How many characters the IBAN can have when changing it to a custom one (on Settings tab)
Config.CustomIBANAllowLetters = true -- If the custom IBAN can have letters or only numbers (on Settings tab)
Config.IBANChangeCost = 5000 -- How much it costs to change the IBAN to a custom one (on Settings tab)
Config.PINChangeCost = 1000 -- How much it costs to change the PIN (on Settings tab)
Config.AnimTime = 2 * 1000 -- 2 * 1000 = 2 seconds (ATM animation)
Config.Societies = { -- Which societies have bank accounts
"police",
"ambulance",
}
Config.SocietyAccessRanks = { -- Which ranks of the society have access to it
"boss",
"chief",
}
Config.ShowBankBlips = true -- true = show bank blips on the map | false = don't show blips
Config.BankLocations = { -- to get blips and colors check this: https://wiki.gtanet.work/index.php?title=Blips
{blip = 108, blipColor = 2, blipScale = 0.9, x = 150.266, y = -1040.203, z = 29.374, blipText = "Bank", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -1212.980, y = -330.841, z = 37.787, blipText = "Bank", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -2962.582, y = 482.627, z = 15.703, blipText = "Bank", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -112.202, y = 6469.295, z = 31.626, blipText = "Bank", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = 314.187, y = -278.621, z = 54.170, blipText = "Bank", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -351.534, y = -49.529, z = 49.042, blipText = "Bank", BankDistance = 3},
{blip = 108, blipColor = 3, blipScale = 1.2, x = 252.33, y = 218.11, z = 106.29, blipText = "Bank", BankDistance = 13},
{blip = 108, blipColor = 2, blipScale = 0.9, x = 1175.064, y = 2706.643, z = 38.094, blipText = "Bank", BankDistance = 3},
}
Config.ATMDistance = 1.5 -- How close you need to be in order to access the ATM
Config.ATM = { -- ATM models, do not remove any
{model = -870868698},
{model = -1126237515},
{model = -1364697528},
{model = 506770882}
}
Config = {}
Config.okokTextUI = true -- true = 开启okokTextUI(我建议您使用这个,因为它比默认的ShowHelpNotification更加优化)| false = 显示帮助通知
Config.IBANPrefix = "OK" -- IBAN的前缀
Config.IBANNumbers = 6 -- 默认情况下IBAN包含多少个字符
Config.CustomIBANMaxChars = 10 -- 当将其更改为自定义IBAN时,IBAN可以包含多少个字符(在设置选项卡上)
Config.CustomIBANAllowLetters = true -- 自定义IBAN是否可以包含字母或者仅限数字(在设置选项卡上)
Config.IBANChangeCost = 5000 -- 更改IBAN为自定义IBAN的费用(在设置选项卡上)
Config.PINChangeCost = 1000 -- 更改PIN的费用(在设置选项卡上)
Config.AnimTime = 2 * 1000 -- 2 * 1000 = 2秒(ATM动画时间)
Config.Societies = { -- 哪些社团有银行账户
"police",
"ambulance",
}
Config.SocietyAccessRanks = { -- 社团的哪些等级可以访问银行账户
"boss",
"chief",
}
Config.ShowBankBlips = true -- true = 在地图上显示银行图标 | false = 不显示图标
Config.BankLocations = { -- 获取图标和颜色:https://wiki.gtanet.work/index.php?title=Blips
{blip = 108, blipColor = 2, blipScale = 0.9, x = 150.266, y = -1040.203, z = 29.374, blipText = "银行", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -1212.980, y = -330.841, z = 37.787, blipText = "银行", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -2962.582, y = 482.627, z = 15.703, blipText = "银行", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -112.202, y = 6469.295, z = 31.626, blipText = "银行", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = 314.187, y = -278.621, z = 54.170, blipText = "银行", BankDistance = 3},
{blip = 108, blipColor = 2, blipScale = 0.9, x = -351.534, y = -49.529, z = 49.042, blipText = "银行", BankDistance = 3},
{blip = 108, blipColor = 3, blipScale = 1.2, x = 252.33, y = 218.11, z = 106.29, blipText = "银行", BankDistance = 13},
{blip = 108, blipColor = 2, blipScale = 0.9, x = 1175.064, y = 2706.643, z = 38.094, blipText = "银行", BankDistance = 3},
}
Config.ATMDistance = 1.5 -- 您需要离ATM多近才能访问
Config.ATM = { -- ATM模型,不要移除任何一个
{model = -870868698},
{model = -1126237515},
{model = -1364697528},
{model = 506770882}
}
该代码应该放在服务器的脚本文件server.lua中。
页:
[1]