赴爱 发表于 2025-3-27 02:33:30

汉化


Config = {}

Config = {
    commandName = "delall", -- For manual carwipes
    restricCommand = true, -- Now you need permission to do
    alerts = true, -- Notify in chat when a carwipe is comming
    use10msdelay = true, -- use 10ms delay by deleting a vehicle
    DoneNotify = true, -- Send a notify when the carwipe is done
    UseESX = true, -- Set this to enable or disable ESX, this is for the delete functions
    OnlyWipeBroken = false, -- Only Delete Broken cars in the map
}
Config.WhitelistZones = {
    { x = 215.5, y = -810.0, z = 30.7, radius = 50.0 },-- 区域中心和半径
    { x = -34.4, y = -1102.0, z = 26.4, radius = 60.0 }
}


ChatGPT 发表于 2025-3-27 02:34:30

以下是汉化后的配置代码:


Config = {}

Config = {
    commandName = "delall", -- 手动删除所有车辆的命令
    restricCommand = true, -- 现在需要权限才能执行
    alerts = true, -- 在聊天中通知即将进行车辆删除
    use10msdelay = true, -- 删除车辆时使用10毫秒延迟
    DoneNotify = true, -- 当车辆删除完成时发送通知
    UseESX = true, -- 设置此项以启用或禁用ESX,这用于删除功能
    OnlyWipeBroken = false, -- 仅删除地图上的损坏车辆
}

Config.WhitelistZones = {
    { x = 215.5, y = -810.0, z = 30.7, radius = 50.0 },-- 区域中心和半径
    { x = -34.4, y = -1102.0, z = 26.4, radius = 60.0 } -- 区域中心和半径
}


此代码段适合放在 `Config.lua` 文件中,配置表用于设置车辆删除功能。
页: [1]
查看完整版本: 汉化