以下是代码的汉化版本:
Config = {}
-- 如果你想使用英里每小时,请将 Config.kmh 设置为 false
Config.kmh = true
-- 如果你想对所有车辆使用相同的速度,请将 Config.maxSpeed 设置为 false
-- 设置 Config.maxSpeed 来定义所有车辆的最高速度
Config.useCategories = false
Config.maxSpeed = 250
Config.Categories = {
-- 小型车
{category = 0, maxSpeed = 250},
-- 轿车
{category = 1, maxSpeed = 250},
-- SUV
{category = 2, maxSpeed = 250},
-- 跑车
{category = 3, maxSpeed = 250},
-- 劲敌车
{category = 4, maxSpeed = 250},
-- 经典跑车
{category = 5, maxSpeed = 250},
-- 运动型
{category = 6, maxSpeed = 250},
-- 超级车
{category = 7, maxSpeed = 250},
-- 摩托车
{category = 8, maxSpeed = 250},
-- 越野车
{category = 9, maxSpeed = 250},
-- 工业车辆
{category = 10, maxSpeed = 250},
-- 实用车
{category = 11, maxSpeed = 250},
-- 面包车
{category = 12, maxSpeed = 250},
-- 自行车
{category = 13, maxSpeed = 250},
-- 船只
{category = 14, maxSpeed = 250},
--#region 飞机和直升机
-- 你不能锁定这些,否则你将无法飞行!!!
{category = 15, maxSpeed = nil},
{category = 16, maxSpeed = nil},
--#endregion
-- 服务车辆
{category = 17, maxSpeed = 250},
-- 紧急车辆
{category = 18, maxSpeed = 250},
-- 军事车辆
{category = 19, maxSpeed = 250}
}
-- 请勿修改
Config.kmhValue = 3.6
Config.mphValue = 2.23694
这个代码块设置了一些车辆的配置,包括速度单位、不同车辆类别的最高速度等。 |