翻译一下
['警局车库'] = {coords = vector3(441.51, -1020.14, 28.65),
spawn = vector4(438.83, -1025.98, 28.78, 91.56),
distance = 5,
job = "police",
type = "car",
blip = {
id = 357,
color = 0,
scale = 0.7 --图标大小调节
},
hideMarkers = true,
markers = { id = 21, size = { x = 0.3, y = 0.3, z = 0.3 }, color = { r = 255, g = 255, b = 255, a = 120 }, bobUpAndDown = 0, faceCamera = 0, rotate = 1, drawOnEnts = 0 },
vehiclesType = "spawner", -- Spawn a basic vehicle from a list
showLiveriesExtrasMenu = true, -- Allow player to select a livery and extras before pulling vehicle out
vehicles = {
= {
vehicle = "police", -- spawn code for vehicle
plate = "false", -- set as false for a random plate; do not use a plate already in use in the DB!
minJobGrade = 0, -- only available to players with set minimum grade
nickname = "Police car", -- Show a custom name instead of the vehicle's real name
livery = 1,
extras = {1, 2}
},
= {
vehicle = "police2",
plate = false,
minJobGrade = 3,
livery = 2,
extras = {}
以下是您提供的代码片段的中文翻译:
= {
坐标 = vector3(441.51, -1020.14, 28.65),
生成点 = vector4(438.83, -1025.98, 28.78, 91.56),
距离 = 5,
工作 = "警察",
类型 = "汽车",
图标 = {
id = 357,
颜色 = 0,
缩放 = 0.7 -- 图标大小调节
},
隐藏标记 = true,
标记 = {
id = 21,
大小 = { x = 0.3, y = 0.3, z = 0.3 },
颜色 = { r = 255, g = 255, b = 255, a = 120 },
上下浮动 = 0,
面朝摄像头 = 0,
旋转 = 1,
绘制在实体上 = 0
},
车辆类型 = "生成器", -- 从列表中生成基本车辆
显示涂装和额外选项菜单 = true, -- 允许玩家在拉出车辆前选择涂装和附加选项
车辆 = {
= {
车辆 = "警车", -- 车辆的生成代码
车牌 = "false", -- 设置为false以获取随机车牌;不要使用数据库中已存在的车牌!
最低工作等级 = 0, -- 仅对设置的最低等级以上的玩家可用
昵称 = "警车", -- 显示自定义名称而不是车辆的真实名称
涂装 = 1,
附加选项 = {1, 2}
},
= {
车辆 = "警车2",
车牌 = false,
最低工作等级 = 3,
涂装 = 2,
附加选项 = {}
请注意,该代码似乎有部分缺失或者格式不完整(例如,部分表的开头没有定义),如果需要进一步修改或补充,请提供完整上下文。
页:
[1]