汉化
Config = {}
-- Set Config.kmh to false if you want to use mph
Config.kmh = true
-- Set Config.maxSpeed to false if you want to use same speed for all vehicles
-- Set the max speed for all vehicles on Config.maxSpeed
Config.useCategories = false
Config.maxSpeed = 250
Config.Categories = {
-- COMPACTS
{category = 0, maxSpeed = 250},
-- SEDANS
{category = 1, maxSpeed = 250},
-- SUV'S
{category = 2, maxSpeed = 250},
-- COUPES
{category = 3, maxSpeed = 250},
-- MUSCLE
{category = 4, maxSpeed = 250},
-- SPORT CLASSIC
{category = 5, maxSpeed = 250},
-- SPORT
{category = 6, maxSpeed = 250},
-- SUPER
{category = 7, maxSpeed = 250},
-- MOTORCYCLES
{category = 8, maxSpeed = 250},
-- OFFROAD
{category = 9, maxSpeed = 250},
-- INDUSTRIAL
{category = 10, maxSpeed = 250},
-- UTILITY
{category = 11, maxSpeed = 250},
-- VANS
{category = 12, maxSpeed = 250},
-- BICYCLES
{category = 13, maxSpeed = 250},
-- BOATS
{category = 14, maxSpeed = 250},
--#region PLANES AND HELIS
-- YOU MUST NOT LOCK THIS ONES OR YOU WON'T BE ABLE TO FLY THEM!!!
{category = 15, maxSpeed = nil},
{category = 16, maxSpeed = nil},
--#endregion
-- SERVICE
{category = 17, maxSpeed = 250},
-- EMERGENCY
{category = 18, maxSpeed = 250},
-- MILITARY
{category = 19, maxSpeed = 250}
}
-- DO NOT MODIFY
Config.kmhValue = 3.6
Config.mphValue = 2.23694
以下是该代码的汉化版本:
Config = {}
-- 如果你想使用英里每小时,请将 Config.kmh 设置为 false
Config.kmh = true
-- 如果你想为所有车辆使用相同的速度,请将 Config.useCategories 设置为 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
这段代码是配置车辆类别和最高速度的设置,其中包含各种车辆类型和对应的最大速度。是否将某个单位设置为公里每小时(km/h)或英里每小时(mph),以及各类车辆的最大速度都可通过此配置来调整。对于飞机和直升机,最大速度设置为 `nil`,以便于飞行时不受限制。
页:
[1]