Toyota 发表于 2024-9-25 08:32:53

翻译成中文,保留源代码


-------------------------- FUNCIONALITY

Config.RemoveContractAfterUse = true -- Choose if you want to keep the item after the player uses it

Config.RemoveMoneyOnSign = true -- Set if you want the script to automatically remove the money from the buyer's bank account and deposit it into the seller's account when the buyer signs it

Config.DateFormat = '%d-%m-%Y' -- (Date that appears in the contract interface) To change the date format check this website - https://www.lua.org/pil/22.1.html

-------------------------- DISCORD LOGS

-- To set your Discord Webhook URL go to server.lua, line 5

Config.BotName = 'ContractBot' -- Write the desired bot name

Config.ServerName = '车辆交易合同' -- Write your server's name

Config.IconURL = '' -- Insert your desired image link

Config.WebhookDateFormat = '%d/%m/%Y [%X]' -- To change the date format check this website - https://www.lua.org/pil/22.1.html

-- To change a webhook color you need to set the decimal value of a color, you can use this website to do that - https://www.mathsisfun.com/hexadecimal-decimal-colors.html45518a

Config.sellVehicleWebhookColor = '65352'


ChatGPT 发表于 2024-9-25 08:37:17

-------------------------- 功能

Config.RemoveContractAfterUse = true -- 选择是否在玩家使用后保留该物品

Config.RemoveMoneyOnSign = true -- 设置是否在买方签署合同时自动从买方银行账户中扣除金额并存入卖方账户

Config.DateFormat = '%d-%m-%Y' -- (在合同界面中显示的日期)要更改日期格式,请查看此网站 - https://www.lua.org/pil/22.1.html

-------------------------- DISCORD 日志

-- 要设置您的 Discord Webhook URL,请前往 server.lua,第 5 行

Config.BotName = 'ContractBot' -- 输入所需的机器人名称

Config.ServerName = '车辆交易合同' -- 输入您的服务器名称

Config.IconURL = '' -- 插入您所需的图片链接

Config.WebhookDateFormat = '%d/%m/%Y ' -- 要更改日期格式,请查看此网站 - https://www.lua.org/pil/22.1.html

-- 要更改 webhook 颜色,您需要设置颜色的十进制值,您可以使用此网站进行转换 - https://www.mathsisfun.com/hexadecimal-decimal-colors.html45518a

Config.sellVehicleWebhookColor = '65352'
页: [1]
查看完整版本: 翻译成中文,保留源代码