帮我翻译一下
name = "佩里克岛", -- Garage name shown in the menu
coords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513), -- Marker position
blip = { blipId = 524, blipColor = 3, blipScale = 0.6, blipText = "车库" }, -- Blip informations
marker = {
id = 36,
color = { r = 31, g = 94, b = 255, a = 90 },
size = { x = 0.7, y = 0.7, z = 0.7 },
bobUpAndDown = 0,
faceCamera = 0,
rotate = 1,
drawOnEnts = 0
}, -- Marker informations
radius = 1, -- Interaction radius for the marker
storeVehicleCoords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513),
storeVehicleMarker = {
id = 36,
color = { r = 255, g = 0, b = 0, a = 90 },
size = { x = 0.7, y = 0.7, z = 0.7 },
radius = 2.5,
bobUpAndDown = 0,
faceCamera = 0,
rotate = 1,
drawOnEnts = 0
}, -- Marker informations for the sell vehicle marker
viewVehicleCoords = vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56),
vehicleSpawn = { -- Where the vehicle spawns when you take it out
vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56), -- Make it work with multiple spawn points
},
infiniteVehicles = false, -- This will work for societies only, set the society vehicles in the Config.SocietyVehiclesList
id = "perico", -- ID of the garage, it's used to get what garage is opened | needs to be DIFFERENT for each garage
society = "", -- Leave blank if not in use
type = "car" -- car, air or boat
以下是对代码的注释和翻译:
name = "佩里克岛", -- 菜单中显示的车库名称
coords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513), -- 标记位置
blip = { blipId = 524, blipColor = 3, blipScale = 0.6, blipText = "车库" }, -- 图标信息
marker = {
id = 36,
color = { r = 31, g = 94, b = 255, a = 90 },
size = { x = 0.7, y = 0.7, z = 0.7 },
bobUpAndDown = 0,
faceCamera = 0,
rotate = 1,
drawOnEnts = 0
}, -- 标记信息
radius = 1, -- 标记互动半径
storeVehicleCoords = vector3(4512.41015625, -4522.35986328125, 4.19999980926513),
storeVehicleMarker = {
id = 36,
color = { r = 255, g = 0, b = 0, a = 90 },
size = { x = 0.7, y = 0.7, z = 0.7 },
radius = 2.5,
bobUpAndDown = 0,
faceCamera = 0,
rotate = 1,
drawOnEnts = 0
}, -- 出售车辆标记信息
viewVehicleCoords = vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56),
vehicleSpawn = { -- 取出车辆时车辆生成的位置
vector4(4512.41015625, -4522.35986328125, 4.19999980926513,34.56), -- 使其适用于多个生成点
},
infiniteVehicles = false, -- 仅适用于团体,将团体车辆设置在 Config.SocietyVehiclesList 中
id = "perico", -- 车库的 ID,用于获取已打开的车库 | 每个车库的 ID 需要不同
society = "", -- 如果没有使用社团则留空
type = "car" -- 车辆类型:car(汽车)、air(飞机)或 boat(船)
这段代码应该放在服务器脚本文件(server.lua)中。
页:
[1]