搜索
查看: 37|回复: 1
收起左侧

翻译

[复制链接]

升级进度: 13%

Verzood 发表于 2024-9-25 11:28:09 | 显示全部楼层 |阅读模式

Config, Locale = {}, {}

Config.locale = "en"

-- Chat command to delete vehicles
Config.Cmd = "deletevehicles"

Config.ESX = true -- Set this to true if you use ESX

-- If you use ESX you don't need to add any identifier to Config.AdminList because it checks if you have permission by your player group (superadmin, admin, mod)

-- Types of identifiers: steam: | license: | xbl: | live: | discord: | fivem: | ip:
Config.AdminList = {
        'license:524ce5af8c1f621fabcc42410160a9041a2bb0c4', -- Example, change this
}

-- Time (in minutes) that it will take to delete vehicles since you execute the command
Config.DeleteVehicleTimer = 90

-- If true it'll delete vehicles inside safezones
Config.DeleteVehiclesIfInSafeZone = false

-- Delete vehicles automatically at this time every day (h = hour m = minutes)
Config.DeleteVehiclesAt = {
        {['h'] = 8, ['m'] = 00},
        {['h'] = 12, ['m'] = 00},
        {['h'] = 18, ['m'] = 20},
        {['h'] = 24, ['m'] = 00},
}

-- Set safezones
-- For the blip color check: https://docs.fivem.net/docs/game-references/blips/#blip-colors
-- If you want to remove the blip simply set 'alpha' to 0
Config.SafeZones = {
        { ['x'] = -44.155646565, ['y'] = -1100.155646565, ['z'] = 26.267009735108, ['radius'] = 50.0, ['color'] = 2, ['alpha'] = 150},
        { ['x'] = -1688.43811035156, ['y'] = -1073.62536621094, ['z'] = 13.1521873474121, ['radius'] = 200.0, ['color'] = 2, ['alpha'] = 150},
        { ['x'] = -2195.1352539063, ['y'] = 4288.7290039063, ['z'] = 49.173923492432, ['radius'] = 150.0, ['color'] = 2, ['alpha'] = 150},
}
回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-9-25 11:28:17 | 显示全部楼层
以下是您提供的代码的中文翻译:
Config, Locale = {}, {}

Config.locale = "zh" -- 设置语言为中文

-- 聊天命令以删除车辆
Config.Cmd = "删除车辆"

Config.ESX = true -- 如果您使用ESX,请将此设置为true

-- 如果您使用ESX,则无需在Config.AdminList中添加任何标识符,因为它会根据您的玩家组(超级管理员、管理员、版主)检查您是否有权限

-- 标识符类型:steam: | license: | xbl: | live: | discord: | fivem: | ip:
Config.AdminList = {
        'license:524ce5af8c1f621fabcc42410160a9041a2bb0c4', -- 示例,修改此项
}

-- 执行命令后删除车辆所需的时间(以分钟为单位)
Config.DeleteVehicleTimer = 90

-- 如果为true,将删除安全区内的车辆
Config.DeleteVehiclesIfInSafeZone = false

-- 每天在此时间自动删除车辆(h = 小时 m = 分钟)
Config.DeleteVehiclesAt = {
        { h = 8, m = 00},
        { h = 12, m = 00},
        { h = 18, m = 20},
        { h = 24, m = 00},
}

-- 设置安全区
-- 有关图标颜色的检查,请参见:https://docs.fivem.net/docs/game-references/blips/#blip-colors
-- 如果您想删除图标,只需将'alpha'设置为0
Config.SafeZones = {
        { x = -44.155646565, y = -1100.155646565, z = 26.267009735108, radius = 50.0, id = 2, alpha = 150},
        { x = -1688.43811035156, y = -1073.62536621094, z = 13.1521873474121, radius = 200.0, id = 2, alpha = 150},
        { x = -2195.1352539063, y = 4288.7290039063, z = 49.173923492432, radius = 150.0, id = 2, alpha = 150},
}

请注意,代码中的一些键(如`h`、`m`、`x`、`y`、`z`、`radius`、`id`和`alpha`)在翻译时保持不变,因为它们是代码的关键部分。
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2024-11-28 20:45 , Processed in 0.079229 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表